Domain vs. Add-on domain?
From the cPanel->Domains screen I can "create a new domain". From cPanel->AddOn Domains I can "create a new add-on domain". Is there any difference between the two? And why does cPanel force me to create a subdomain of the primary domain associated with the new domain/add-on domain?
-
cPanel only recognizes one Primary domain within an account, all other domains are technically subdomains of the primary domain including addon domains, though you'd still access them by going to addondomain.tld This is done to allow for multiple domains within the same directory root and retain separation of accounts. You can read more about addon domains here: Addon Domains - Version 80 Documentation - cPanel Documentation 0 -
cPanel only recognizes one Primary domain within an account, all other domains are technically subdomains of the primary domain including addon domains, though you'd still access them by going to addondomain.tld
This strikes me as a design choice in how cPanel is implemented. I see nothing inherent in how DNS works, in how the file system is utilized, etc, that make this necessary. More importantly, can you explain the difference between a domain created from the add-on domains page vs one created by clicking "create a new domain" from the Domains page? Add-on domains appear on the add-on domains page as well as the domains page, while domains created from the Domains page do NOT appear on the add-on domains page. Both kinds can thus be managed from the Domains page, both can be located in the same sorts of places in the file system. Both are editable in the zone editor. So how do they differ?0 -
More importantly, can you explain the difference between a domain created from the add-on domains page vs one created by clicking "create a new domain" from the Domains page? Add-on domains appear on the add-on domains page as well as the domains page, while domains created from the Domains page do NOT appear on the add-on domains page. Both kinds can thus be managed from the Domains page, both can be located in the same sorts of places in the file system. Both are editable in the zone editor. So how do they differ?
cPanel recognizes three types of domain additions besides the primary domain Alias Domains Addon Domains Subdomains When you create a domain through the "Domains" interface and leave the box "Share document root (/home/user/public_html) with "primarydomain.tld"" checked this creates an alias domain: 59663 because you're sharing the public_html of the primary domain. You can then see the domain in the Aliases tab by going to cPanel>>Domains>>Aliases: 59667 If I want to create an addon domain through this UI I would uncheck the share document root button and add the folder where I want my domain to reside, like the following: 59671 You'll then be able to see this domain in the addon domains interface 59675 I hope this helps clarify the domains interface.0 -
cPanel recognizes three types of domain additions besides the primary domain Alias Domains Addon Domains Subdomains I hope this helps clarify the domains interface.
Thanks for a much clearer picture than I had before.0
Please sign in to leave a comment.
Comments
4 comments