How do I change the main domain name on my account?
You have the ability to change the primary domain name on your account. You must have already registered the domain name that you will be switching your account to. If you haven't already registered the domain name, domain registrations through InMotion Hosting are $14.99 per domain per year.
NOTE: Please note that the cPanel software was not designed for the main domain name to be easily switched around. The domain name can be changed, but the files that go along with it are not moved. What does this mean? It means that your hosting account's original primary domain (your previous main domain) has website files that either need to be moved or removed from the current location which is typically known as the document root. It also means that when you have your main domain changed, that the files that go along with it are not moved for you. The instructions for changing the primary domain are found below. For insructions on moving/removing your primary domain files, go to How to Move your Primary Domain Files.
What is affected when my domain is changed
Before we proceed with instructions on how to have your main domain changed, it is important that you understand what is affected by the change. The following items are affected when you change your primary domain: email, website files, subdomains, and your search engine rank.
All of the email accounts created for domainA.com will turn into domainB.com accounts. You@domainA.com will now be You@domainB.com. If you still needed You@domainA.com then you will need to add domainA.com to your cPanel again as either a parked or addon domain name and recreate the email account.
Important! 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.
If domainB.com was an addon domain name and all of the files were located in public_html/domainB, you will need to reupload the files back to public_html.
All of your subdomains.domainA.com will turn into subdomains.domainB.com. For example, sales.domainA.com will now be sales.domainB.com. All subdomain names will need to be recreated if still needed.
The previous main domain name on the account will be removed. If you still needed that previous main domain, you will need to 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 http://domainB.com/cpanel instead of http://domainA.com/cpanel
Search Engine Rank
If you are changing your website's domain name, keep in mind that this could affect your rank in search engines. Instead Google recommends that you setup a 301 redirect, which lets search engines know the website is permanently moving.
Steps to change your primary domain for Shared accounts
If you have a Shared account, you can change the main domain name on your account through AMP:
- Log into AMP.
- Click the Change Primary Domain button.
- You'll see a page with an explanation of everything that is affected when your domain is changed. If you're aware of this information and would like to proceed, click on "here" in "If you agree to these terms and wish to proceed, please click here".
- If you have any addon domains, you'll see the dropdown box is pre-populated with those addon domains. Select the addon domain you'd like to change your primary domain to, or you can choose "Enter Domain Name" to type in a domain that's not listed in the menu.
Click the "Submit" button.
Note! If you see no domains in the drop box it is because you have no addon domains in your cPanel
- You will see a confirmation in your AMP panel like "Your primary domain has been changed to your-new-domain.com".
Modifying domains on VPS and Dedicated servers
If you are on a VPS or Dedicated server, you can modify your cPanel accounts. To learn how to modify your own cPanel accounts in WHM , please see the tutorial on How to modify a cPanel account within WHM.
If you need assistance with changing your primary domain name, contact our Support department via chat, email or phone 24/7.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
Post a Comment
Do you want to publish a tutorial to our support center?