cPanel’s Domains page lists all domains on your account, including aliases, addon domains and subdomains. You can also use the interface to create and manage domains. The main things you can do are:
It is worth noting that the Domains page doesn’t do anything that can’t be done elsewhere in cPanel. It simply combines all domain-related sections in a single interface.
Aliases, addons domains, subdomains and redirects are discussed in detail in other articles. However, here is a brief summary of what they are:
The main Domains page lists all domains on your account. In the below image I got only one domain: example.net.
Image: cPanel’s Domains page.
For each domain you can see the following information:
You can add a domain via the Create a new domain button. The new domain can be either an alias or an addon domain, depending on whether or not the Share document root checkbox is ticked.
An alias always shares the document root of the main domain, while an addon domain always has its own website directory. You can therefore create an alias by leaving the checkbox ticked. The below image shows how to create the alias example.com.
Image: creating an alias (by leaving the checkbox ticked).
After hitting the Submit button you should see a Success message. The notification doesn’t explicitly say that the new domain is an alias. However, you can tell by looking at the information about the domain: example.com has the same document root as the main domain. In other words, the domain example.com shows the content of the domain example.net.
Image: the domain example.com has been added as an alias.
To create an addon domain you need to untick the Share document root box. By default, the addon domain’s document root is a subdirectory in the public_html directory. You can change the directory but there is rarely a need to do so.
Image: creating the addon domain example.co.uk
When you create an addon domain cPanel automatically creates a subdomain. The subdomain is created because an addon domain is simply a subdomain with an alias. It seems a little odd but it is how cPanel works its magic in the background.
To create a subdomain you simply enter the name in the Domain field. When you add a subdomain the Share document root checkbox is not ticked. You can tick the box, in which case the subdomain will be an alias. However, in most cases you want to create an independent subdomain.
Image: creating the subdomain shop.example.net
In the above image I created the subdomain shop.example.net. The subdomain’s document root is automatically created. Again, you can change the name of the directory where the website files are stored. However, you normally don’t need to do so. The default option is sensible.
You can click the Manage button to view basic information about a domain. In the below image you can see details about the domain example.co.uk.
Image: managing the example.co.uk domain.
The page is mainly a summary of the domain. You can change the document root, but that is about it. However, there are a few handy quick links to other cPanel pages:
The Domains page is a relatively new cPanel feature. While some people find it convenient to have a single page for any type of domain, others find the page rather confusing. The main thing to remember is that you don’t have to use the Domains page. There is nothing wrong with creating an addon domain via the Addon Domains page. Similarly, it is perfectly fine to create a subdomain via the Subdomains section.
If you are new to the various types of domains then it is useful to try to understand the information shown on the page. It is a good place to learn about domains.