To enable or disable redirection of a domain alias, perform the following steps:
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:
mv /home/old_account/mail/domain_name/email_account /home/new_account/mail/domain_name/
When you run this command, the system creates the
To move all of 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, change the new account's ownership with the following command:
chown -R new_account:new_account /home/new_account/mail/domain_name
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.