How to Change Primary Domain in your HostGator Hosting Account

Published On :

HostGator has made it easier for shared and reseller hosting account owners to change the primary domain name associated with their respective accounts.

A primary domain name is basically the domain name you choose while registering with any hosting plan on HostGator. Either you must’ve transferred the domain from another domain registrar, registered a new domain on HostGator or simply changed the nameservers (NS) of your domain.

But sometimes the primary domain of your hosting account may not be that important and you would want to change it to another domain name.

Previously, I think we needed to contact HostGator via email to change the primary domain. From now on you don’t need to do that as well.

HostGator Primary Domain Name Change

Change Primary Domain Name associated with your HostGator Hosting Account

So lets take a look at some simple steps by which you can easily change the primary domain associated with your HostGator account.

Change Primary Domain name on HostGator Account

  1. Log in to your HostGator account using the cPanel login details.
  2. Go to Backups > Backup/Download Full Account Backup. Click and generate a full backup including the home directory, sub-domains, SQL database backup, etc. (just to be on the safer side and avoid data loss). HostGator does offer full restore in case of data loss, but still.
  3. Now open the File Manager in cPanel and create a new folder named after the old domain (lets consider, olddomainname.com). Move the root files (i.e. files belonging to olddomainname.com only, not the other sub-domain or addon domain folders) from /public_html to /public_html/olddomainname.com.
  4. See now we have two situations, first : assigning a addon domain as a primary domain or adding a new domain to the account as an addon domain and making that as the primary domain.
  5. If you had previously added a domain as an addon domain (lets consider, newdomainname.com) then you just need to move the files from /public_html/newdomainname.com folder to /public_html (i.e. the root directory of the HostGator account).
  6. In case you just bought a new domain name or transferred your blog and want to use that as the primary domain in HostGator, then you’ve to just upload the files directly in /public_html directory.
  7. Log in to HostGator Billing tool or client area. Navigate to Hosting Packages  > View Hosting Packages. Click on the package > Change My Domain.
  8. Finally re-add the olddomainname.com as an addon domain to avoid downtime.

Dedicated hosting account holders still have to contact HostGator personally via email or live chat option to change the primary domain name associated with their accounts. The above mentioned steps are only for Shared and Reseller account holders.

Ensure you keep calm while changing domains, a single mistake can bring multiple sites on the HostGator account down.

Hope you liked the tutorial. Do other hosting providers allow such a primary domain change option ?

Share :
Tagged as : 4 Comments
About » Has written 231 Post(s) «

I'm a Web Designer/Developer, SEO'er and a Blogger who gives a few Blogging Tips in the form of posts/tutorials. Follow & Subscribe to my Blog if you feel it's worth it.

HostGator
Loader

4 Comments Comments RSS

  1. #

    Very nice article.Thanks for sharing it.

  2. #

    Hi Mani,
    Thanks for sharing with us how to change a primary domain name on a HostGator account. This will be very helpful for those who are switching to HostGator. It’s really great that HostGator is currently giving away 6-months worth of free hosting service.

  3. #

    Thanks for this, was just wondering how to do this.

  4. #

    This is really an useful one. Glad to find the tutorial at the right time.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Also, use your Real name in the 'Name' field. Comment names with only keywords will be trashed.