Introduction
cPanel doesn't have an automated procedure to move emails from one domain to another domain. But, you can utilize modifyacct to change a domain name, which includes updating the email accounts to the new domain name.
The modifyacct function provides the following informational message when selecting the "Primary Domain" field.
Procedure
- Start by creating a backup of the account before making any changes. Access the server through SSH as the root user.
- Run the following command to backup the account. Replace "$user" with your account username:
/scripts/pkgacct $user
- Access WHM as the root user
- Navigate to " Home / Account Functions / Modify an Account "
- Select the account that you wish to change
- Update the "Primary Domain" field to your new domain
- Select "Save"
Please Note: This function will not work if the domain is an existing domain already on the server. You must first remove the existing domain name.
Comments
0 comments
Article is closed for comments.