Manage Domains in CPanel
In this tutorial we'll show you how to manage your domains in CPanel:
- How to create addon domain
- How to create subdomain
- How to create wildcard record
- How to park domain (create alias)
Let's start by distinguishing between the types of domain names in a hosting account.
Main domain - the domain name with which the hosting account is registered -
Addon domain - a fully functional domain name
addondomain.com that is added to the hosting account
maindomain.com. The addon domain uses all of the main domain functionalities in the hosting account.
Parked domain - a domain name that does not load own site but is parked to another domain and loads its site.
The most common use of parked domains is trademark branding - the same domain name is registered in the most common DNS zones -
.eu, and the domains are parked to the
Another reason to park multiple domains is because of often misspelling of the primary domain name. The misspelled names are registered and parked to the main domain and load the main site.
Subdomains are used when the webmaster wants to add independent additional sites to its main website maindomain.com - forum.maindomain.com, blog.maindomain.com, gallery.maindomain.com etc. without registering separate domain names.
Create an Addon Domain in CPanel
Login your CPanel hosting, find Domains section and click on Addon Domains link.
Enter the domain name
CPanel will configure the addon domain as a subdomain of your main hosting domain.
That's why it will create a subdomain taking the first part (the name without the extension) of your addon domain
So your addon domain website will be also accessible as
Of course the addon domain is also configured successfully and the site can be accessed in a browser:
The new addon domain will appear in the table below the form and you can edit its root folder, you can manage its redirection or you can remove the addon record by clicking the corresponding link:
We want to draw your attention to a specific detail which can confuse some cpanel users.
If you want to add another addon domain with the same name but with different extension -
CPanel will suggest automatically the same subdomain
hostpulse-addon and if you click the button you'll get an error:
The solution is very simple - you must edit the suggested subdomain name to something unique -
and the error is gone:
If you check the box in front of
Create an FTP account … additional fields will appear where you can register an associated FTP account with access only to the addon website root folder:
You can find the account details in Files > FTP Accounts:
For FTP server you can also use your addon domain
ftp.hostpulse-addon.com, or your hosting server's IP address.
To create a subdomain in CPanel open Domains and click on Subdomains link.
First from the Domain dropdown menu select the domain name and then fill the subdomain name in the Subdomain field above.
CPanel will suggest the subdomain name as a directory name, but you can edit it to something more descriptive.
Click Create button to register the subdomain:
The subdomain is created successfully:
and the site is accessible in a browser:
Create a Wildcard DNS Record
A wildcard DNS record is a record in a DNS zone that will direct the requests for all subdomains (even the non-existent ones) to the domain's IP address.
A wildcard DNS record is using a
* symbol as the leftmost label (part) of a domain name, e.g.
*.example.com meaning all or any -
To create wildcard record open Subdomain screen, select the domain name from the dropdown menu and enter the
* sign (Shift+8 in Windows) in the Subdomain field.
For a document root enter the domain root folder - all non-existent and all misspelled subdomains will be redirected to the main domain site.
If you want certain subdomain to open own site you must configure it as a separate subdomain with own root directory - the example with
You can park a domain name in cpanel from the Aliases screen.
Domain aliases make your website available from another domain name. For example, you can make
hostpulse-alias.com show content from
The domain will be added in a table below - click Manage Redirection link:
Enter the redirection URL:
When we enter in the address bar
hostpulse-alias.com immediately the server will change the domain to
Setting up the domain names correctly is important step for every website administrator. If you are facing even the smallest difficulties please contact our support department and our colleagues will help you gladly.