Last updated:
Addon domains let you host multiple domains on a single your cPanel account. This can be useful if you don’t want separate control panel logins for domains you host. However, there are some disadvantages as well.
Every advantage has a disadvantage, and that is true for addon domains. Here are some things to consider if you want to host multiple domains on your cPanel account.
You can create an addon domain via the Domains feature. cPanel used to have a separate interface for addon domains, but that no longer exists. If you have not used the Domains interface before then I recommend reading the article about the Domains feature first.
To create an addon domain you need to enter the domain name (without the HTTP(S) protocol and without the www subdomain) and untick the Share document root checkbox.
cPanel automatically suggests a document root for new addon domains. The document root is where the website files are stored. Traditionally, the directory was created in your home directory. So, if my home directory is /home/example then the addon domain’s document root would be /home/example/foo.bar. Nowadays, the directory is created in the public_html directory instead.
Because an addon domain is in fact a subdomain with an alias, cPanel also automatically creates a subdomain. For the domain foo.bar it suggests foo.bar.example.com. You can change the name if you want, though it is really just an artefact that does some magic in the background.
After the addon domain has been created you are returned to the Domains page.
The Domains interface tells you what the main domain on your account is, but it doesn’t tell you what any other domains are. However, you can deduce that foo.bar is an addon domain:
That leaves one option: foo.bar can only be an addon domain.
There are just two options for managing addon domains. The first is to change the document root. In general, it is not recommended to change the document root of an existing addon domain. The option is mainly useful if your application needs to be served from a specific directory.
As an aside, if you prefer to use a document root above the public_html directory then we can change that for you. It is not possible to change that via the cPanel interface, but we can change it.
The second option is to remove the addon domain. The main thing to note here is that removing an addon domain will not purge the website files (or any database used by the domain). It just makes cPanel forget about the addon domain.
It is possible to convert an addon domain to a stand-alone hosting account. Please open a ticket if you would like us to do so.