We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
To enable or disable redirection of a domain alias, perform the following steps:
vhostentries, and its DNS entries. The system retains the alias's directory contents.
To remove an existing domain alias, perform the following steps:
To search through the list of domain aliases, enter the search criteria in the Search text box and click Go. Results that match your search criteria will populate the table.
To add new email accounts, use cPanel's Email Accounts interface (cPanel >> Home >> Email >> Email Accounts), or run the
/scripts/addpop script from the command line.
To move one email account under a domain, run the following command:
When you run this command, the system creates the
To move all of the email accounts under a domain, run the following command:
After you move the files, change the new account's ownership with the following command:
Make certain that you verify ownership of the email account after you move it.
If you remove the domain alias, its email accounts will no longer appear in the Email Accounts interface (cPanel >> Home >> Email >> Email Accounts). However, the email accounts' contents still exist in the mail folder of the user's
If you move the domain to a different account, you must add the email accounts manually and move the contents of the email accounts manually.
The email accounts must follow the same name and domain formats that they previously followed.
|Characteristic||Addon domains||Alias domains|
|The main domain appears in the address bar.||Yes||No|
|The domain uses the following Apache directive:||VirtualHost||ServerAlias|
|The domain uses separate logs.||Yes||No|
|The domain uses separate stats.||Yes||No|
|The system treats the domain as a subdomain (other than the URL).||Yes||No|
|This type of domain is ideal for multiple domains that share the same address.||No||Yes|