Use the Addon Domains interface to add more domains to your account. Each addon domain possesses its own files and will appear as a separate website to your visitors.
(Home >> Domains >> Addon Domains)
Addon domains allow you to control multiple domains from a single account. An addon domain links a new domain name to a directory in your account, and then stores its files in that directory.
To create an addon domain, perform the following steps:
Enter the new addon domain's name in the New Domain Name text box. When you enter the domain name, cPanel automatically populates the Subdomain and Document Root text boxes.
example.net), manually enter a unique username in the Subdomain text box.
0indicates a weak password, while
100indicates a very secure password.
Click Add Domain.
To add files to the addon domain’s home directory, click File Manager.
When you create an addon domain in the cPanel interface, the system automatically creates a subdomain. To alter or delete the subdomain after you create it, you may alter or delete the information that the addon domain's website displays.
Also, 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 add a request for an AutoSSL certificate to secure the new domain and install it when available.
Note: The system stores and displays the addon domain's traffic statistics as part of the subdomain's traffic statistics.
To modify the document root for an addon domain, perform the following steps:
To disable or enable redirection of an addon domain, perform the following steps:
To remove an addon domain, perform the following steps:
In the following examples:
old_accountrepresents the cPanel account from which you wish to move the addon domain's email account or accounts.
new_accountrepresents the cPanel account to which you wish to move the addon domain's email account or accounts.
domain_namerepresents the addon domain's name.
email_accountrepresents the name of the addon domain's email account that you wish to move.
You can create email accounts for addon domains.
you remove the addon domain, its email accounts will no longer appear
in the cPanel interface. However, the contents for this email account
still exist in the
/scripts/addpopscript to manually add new email accounts.
To move one email account under a domain, you can run the following command:
mv /home/old_account/mail/domain_name/email_account /home/new_account/mail/domain_name/
After you run this command, the system creates the
To move all the email accounts under a domain, run the following command:
mv /home/old_account/mail/domain_name /home/new_account/mail
After you move the files, run the following command to change the ownership of the new account:
chown -R new_account:new_account /home/new_account/mail/domain_name
Note: Verify ownership of the email account after you move it.
To search the list of addon domains, perform the following steps:
The interface lists results that match your search criteria.