Published: Jul 7, 2014
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.
If you are using a content management system or other website software (e.g. WordPress) Please be aware that simply changing the main domain may only be the start of configurations you need to change. Please make sure that you double-check your software's documentation on changing the domain name.
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 icon.
- 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 " .