From cPanel, you can manage your account by adding addon domains, and you can also create domain aliases (or parked domains). Let’s see what differences there are between these two functions and how to create them.
Addon domains and aliases: differences
An addon domain is a separate domain that you can use to create another website. The difference between having two separate domains with two hosting plans and having an addon domain is that by creating one (or more than one), you can manage it from the same cPanel account, the same you use to manage the main domain.
By creating an alias, however, you allow those who visit your site by typing another address. For example, if your site is www.mysite.com you can create an alias like this www.myothersite.com.
This way, those who visit the address www.myothersite.com will see your main website (www.mysite.com).
To create an alias you must have registered a second domain that you want to use as an alias. Creating an alias can be useful if you want your website tobe visible from more than one domain, or if you use a CMS that can map multiple domains (for example wp multisite with the domain mapping plugin) and show different content for different domains, while managing it with the same CMS.
The alias domain is also called parked domain precisely because it has no content, but its purpose is to point to the same folder as the main domain.
How to add an addon domain
Depending on the plan you have activated, you may have a maximum number of addon domains that you can create. After logging to cPanel, you will see a statistics section on the main page on the right sidebar. In this section, you can check the number of additional domains you can create on your account.
To create an additional domain, you will need to scroll down to the Domains section of cPanel and click on Addon Domains.
From here, you will need to fill in the New domain name field by entering the name of the addon domain you want to create. After doing this, the Subdomain and Document Root fields will be filled automatically. You can choose whether to leave them as they are or change them.
You can choose if you want to create an FTP account associated with the domain you are creating. If so, check the box next to “Create an FTP account associated with this Addon domain”.
After selecting the box, you will need to fill in the data that will allow you to access the server via FTP. The username is automatically created based on the cPanel username, but you can also change it. You are also prompted to choose a password.
After filling in all the fields, click on Add domain to complete the creation of the additional domain.
Modify addon domains
If you want to change the root of your addon domains or the folder associated with it, just follow these steps.
Access the cPanel Addon Domains section, here you will see the available addon domains.
Locate the addon domain you want to change and click on the pencil icon under Document root, as you can see here:
Type the path of the new folder you want to associate with the additional domain and click Edit.
Addon domain redirect
From the Addon domains section, you can also set up the redirection of your addon domains. To do this, click on Manage redirection as you see indicated in this screen:
In the next screen, enter the address to which you want to redirect the domain and click on save.
If you want to disable the redirect, click on Manage redirection and then on the button disable redirection.
Remove an addon domain
To remove an addon domain, go to the Addon domains section and click on the Remove button you see next to the domain you want to delete.
How to create an alias
From the cPanel main page, scroll down to the Domains section and click on Aliases.
In the Domain field, you will need to enter the domain you want to use as an alias and then redirect to your main site. Click on Add domain for confirmation.
As I explained at the beginning, you can set as alias domains those you have registered.
After creating the alias, you will need to configure the domain nameservers to point to the server. You can follow our tutorial to modify the name servers.
Remove an alias
To remove the alias of a domain, access the Alias management from the Domains section of cPanel, locate the alias you want to remove, and click on the Remove button.
In the next window, you will have to confirm the operation by clicking on Remove. Remember that the removal is permanent.