When you host your website or create a cPanel account with Web Hosting Magic, you can control multiple domains from a single cPanel account.

cPanel recognizes three types of domain additions besides the primary domain:

  • alias domains
  • addon domains
  • subdomains

cPanel though recognizes ONLY one domain as "primary" within an account.

Every other domain is technically a sub-domain of the primary domain including any add-on domain you may add even though that you can still access each individually.

Before you proceed, make sure that the addon domain name is a valid registered domain name.

  • make sure that you've registered the domain name with a valid registrar.
  • make sure that you've pointed the domain to your account's nameservers.

If your registered domain's DNS zone records are incorrect, you may receive the following error:

Could not determine the nameserver IP addresses for “subdomain.example.com”.

 

Now that your web hosting account is ready, log in to cPanel and scroll down to Domains.

Click Create a New Domain.

A new interface will appear.

Enter a fully qualified domain name in the Domain text box.

To create a new domain, enter the new domain name.

For example, domain_name.com.

At this point, the question you will ask yourself at this point is, what kind of domain am I trying to create?

 

How To Add Domain In cPanel

To create a new document root, deselect or uncheck the Share document root with “example.com”, where domain_name.com represents your main domain.

cPanel Add-on Domain

Click Submit or click Submit and Create Another Domain.

You'll now be able to see this domain in the addon domains interface.

You can then see the domain in the Aliases tab by going to cPanel >> Domains >> Aliases

 

Having said that, the easiest way of adding an additional domain that you own and want to add to your master cPanel account is by logging in to cPanel, scrolling down to Domains interface and clicking on Addon Domains.

This one is more intuitive as all you need to do to create an addon domain is to:

Enter the new addon domain’s name in the New Domain Name text box.

cPanel will automatically populate the Subdomain and Document Root text boxes.

If you enter a domain that resembles an existing domain on your account, the system will recommend that you create a subdomain for that domain.

This is to ensure that the name-servers properly manage the entries in the domain’s zone file.

To create multiple addon domains with the same username and different extensions (for example, domain_name.com and domain_name.net), manually enter a unique username in the Subdomain text box.

To choose a document root other than the automatically populated value, manually enter the directory name in the Document Root text box.

To create an FTP account for the new addon domain, select the Create an FTP account associated with this Addon Domain checkbox.

If you select this checkbox, additional settings will appear:

cPanel automatically populates the FTP Username text box.

To select a different FTP account username, manually enter the desired username.

Enter and confirm the new password in the appropriate text boxes.

Click Add Domain.

If your registered domain’s DNS zone records are incorrect, you may receive the following error: Could not determine the nameserver IP addresses for “subdomain.domain_name.com”.

To correct this, check that the domain is registered with a valid domain registrar.

And then use cPanel’s Zone Editor interface (cPanel>> Home>> Domains >> Zone Editor) to correct your DNS zone records.

If you are unable to do this, contact our technical support team for help.

 

When you create an addon domain, parked domain, subdomain, or main domain, the system will attempt to automatically secure that domain with the best-available existing certificate.

If no certificate exists, the system will generate a self-signed certificate to secure the new domain.

If AutoSSL is enabled for the account that owns the new domain, the system will submit a request for an AutoSSL certificate.

The system will install the certificate when it is available.

 

To modify the document root for an addon domain, perform the following steps:

Click the edit icon for the addon domain that you wish to manage under the Document Root column.

Enter the new file path to the addon domain’s document root in the available text box.

Click Change.

 

To remove the domain from the cPanel account, perform the following steps:

Click Remove Domain.

To confirm that you wish to remove this domain, click Yes, remove this domain.

If you remove a domain that contains email accounts, those email accounts will not appear in the Email Accounts interface (cPanel >> Home >> Email >> Email Accounts).

However, the mail folders continue to exist on the server.

If you add the domain again, the email accounts will reappear.

 

If you have enabled a domain redirection for the add-on or would want to disable a domain redirection:

Click Manage Redirection for the addon domain that you wish to manage.

To redirect the domain, enter the link to which you wish to redirect the addon domain.

Click Save, or, to disable the redirection, click Disable Redirection.

Was this answer helpful? 0 Users Found This Useful (0 Votes)