Here we cover what is affected when changing your primary domain and how to change the primary domain on an account using WHM. Keep in mind that this can only be done on VPS, Reseller, or Dedicated accounts.
This is sometimes needed when you don't have the option to change the primary domain in Account Management Panel (AMP). It is also used when you need to change the website name spelling or rename the domain, thus changing the domain name associated with the hosting plan.
Before making any changes to your primary domain, it is important to understand what other things will be affected. To aid our explanations, we will be using currentprimary.com to indicate your current primary domain and newprimary.com for your new primary domain.
- Email - All of the email accounts created for currentprimary.com will turn into newprimary.com accounts. You@currentprimary.com will be You@newprimary.com.
- If you still require You@currentprimary.com then you can add currentprimary.com to your cPanel again as either a parked or addon domain name and recreate the email account.
- Please do note that this is not always the case. If you have a parked domain with emails that have the same username as the main domain and you change your main domain to that parked domain, your emails may not change.
- Files - If newprimary.com was an addon domain name and all of the files were located in public_html/newprimary, you will need to re-upload the files back to public_html.
- Subdomains - All of your subdomains.currentprimary.com will turn into subdomains.newprimary.com. Sales.currentprimary.com will be Sales.newprimary.com.
- All subdomain names must be recreated if still needed.
- Add-on Domain - If newprimary.com is an existing addon domain in your account, this will be replaced with currentprimary.com.
- Removal of Current Primary Domain - The previous primary domain name on the account will be removed.
- If you still require the domain, you must log into your cPanel and add it as either a parked or addon domain name. Once the domain name has been changed, you will log into your cPanel via newprimary.com/cPanel instead of currentprimary.com/cPanel.
Related Articles
Primary Domain Change via AMP
Add Addon Domain in cPanel
Convert Alias to Addon Domain
Connect via FTP and Upload Files via FileZilla
Manually Move Addon Domain/Subdomain to Separate cPanel Account
Manually Move Addon Domain to Separate cPanel Account
Change Primary Domain via WHM
TIP: These steps can also be used to change the primary domain of a child cPanel account.
- Log into WHM
- Click Modify an Account in the left menu under the Account Functions header
- Choose the account in question by either clicking the main domain name or the username and then click Modify
- Change the domain and then click Save
- Reach out to Technical Support to update your AMP and cPanel to your new domain name
CAUTION: The primary domain cannot be changed to a domain that is already on the server anywhere. An error will occur saying it already exists and it will need to be removed before it can be added again in another location.
Comments
0 comments
Article is closed for comments.