How to Change Primary Domain in your HostGator Hosting Account

Written by: Muninder

Updated: September, 16, 2012

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 ?

by

Copyright @2021 Dailyblogging.org