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 instructions 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:
- Click the Change Primary Domain icon.
The following page will explain everything that will be affected. You can continue at the bottom if you agree to the terms. Any current addon domains will be listed in the dropdown box. Select the addon domain you’d like to change your primary domain to, or choose “Enter Domain Name“ to type in a domain that’s not listed in the menu.
Click “Change Primary Domain” once you’re done.
You can log into your cPanel to see the new domain in your cPanel stats.
You will also receive an email at your email account on file with a confirmation of the Primary Domain change.
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.