HostGator.com » Support Portal



How Do I Change My Primary Domain Name on My Account?

(Part 3 of 3 of How to Change Your Primary Domain)

When making major changes to your account, it's important that you follow the proper procedures and know what to expect. To ensure that the process goes as smoothly as possible, please be sure to read the following articles before making any changes to your primary domain:

Shared and Reseller

You no longer need to ask HostGator to change the primary domain name associated with your account. You can make the change yourself in GatorBill.

  1. Log into the HostGator billing tool at http://gbclient.hostgator.com
  2. Under Hosting Packages, click View Hosting Packages.
  3. Find the package you wish to modify and click Change My Domain.
  4. On the Change Domain page, type your new domain and click Update Domain.
    Note: This will only change the domain setup on the server; it will not register your new domain. If needed, you may register new domains at register.hostgator.com

Dedicated and VPS

Please create a ticket to change your primary domain name. There is no charge for this service.

Changing Addon and Subdomain Names

You will not need HostGator's billing tool to change your subdomains, addon domains and parked domains. You can do that directly through cPanel.

How to Change an Addon Domain Name and Keep the Content

In this example, we will change books123456789.com to books4allofus.com

  1. Register your new domain name.
  2. Login to your HostGator cPanel.
  3. In the Domains section, click the Addon Domains icon.
  4. Write down the "document root" for the old addon domain.
  5. Remove the addon domain with the old name.
  6. Create a new addon domain with the new name, but use the old "document root" (which you wrote down) as the new document root value.

Your site should now have all the same content, but a new URL.


Article Comments

John
What if you are have a resellers account, could resellers change their clients primary domain name?

HostGator
Yes, a reseller or dedicated owner can change the primary domain of his client's cPanel by going to WHM > Modify an Account. However, the owner cannot change his own primary domain; that must be done via the online form.

Ray
By changing the primary domain, will this also change the nameserver name?

HostGator
No, your name servers will remain the same.

You may register new private name servers with the new domain if you prefer.

Chris
When changing the primary domain, what will happen to any mail forwarders that might be set up. Will they get wiped, left where they are or have there domain changed as well?

HostGator
When a domain is removed from your cPanel, the forwarders for that domain are wiped out as well.

Chenzo
If I were to request that my Primary Domain Name be exchanged for one of my current Addon domains (i.e. Placing Add-on Domain in Primary Position and moving Old Primary to an Add-on Position), what impacts would this have on websites being hosted under all domains on the plan (Primary and Add-ons)?

(I ask this because I have noticed that all Add-on domains are in fact created as Sub-Domains of the Primary Domain... Would visitors of websites thereafter not land on error pages due to invalid addresses?)

HostGator
The subdomain names will automatically update from sub.olddomain.com to sub.newdomain.com (for example).

There are no foreseeable problems which will cause websites to break.

Peter
If i was to change my primary domain, would my current primary become an addon domain automatically or would i have to set it up as an addon domain?

HostGator
We remove the old primary domain name, and then you need to set it as a Parked or Addon domain.

Russell
If I change the domain of my reseller account will my WHMCS still be connected to that account?

HostGator
No, you must update WHMCS to match any domain name changes.

John Aberle
If I understand correctly, I want to change an existing add-on domain to my primary, I can't do that?

Additionally, when I do get a new primary domain, what happens to the old primary domain?

Do just need to enter the domain name again under Add Domains?

HostGator
You misunderstood. You CAN change an existing add-on domain to be your primary.

The old primary domain will be completely removed.

Yes, you may then recreate it as an Addon or Parked domain.

Peter
My primary domain expired. But my baby server it's still working and i have some addon domains. Do I have to change one of those addon domains to be a primary? Or can I have the baby server working without primary domain?





HostGator
Your account works fine without a primary domain name.

Some little features in cPanel may become unavailable (like the File Manager file preview).

Christian
When changing a subdomain, is is possible to change the name of the document root folder to the new new subdomain? I would like to use the old domain name for new content, and move the old content to a new domain, and keep the name of the document root folders reflecting the domain names?

HostGator
All you need to do is delete and recreate the subdomain in cPanel.

Deleting an addon or subdomain in cPanel does NOT delete the document root folder. When you recreate it, assign it to any existing folder.

Zenis
I need change my main domain, but a i have a hatchling package. What can i do?. how i can change the main domain?
Thanks,

HostGator
Just submit the form, same as anyone else would.

However, once we change the primary domain name, you will not be able to add the old domain as an addon or parked domain because Hatchling is limited to one domain.

Berry
Good Morning,
I use Drupal CMS, if i change domain names would it change the user name of the data base and the user name. Thanks

"mysql://username:password@localhost/databasename"

HostGator
No, changing your domain name does not change any usernames.

If the username is changed (say for a reseller's client), then the database names associated with that account will change.

Max
I would like to register a new domain name as my primary.

After changing my primary domain name, shall I just point it to the Name Server, everything will work automatically and the new domain name could be used to access my server root?

Where can I find my old domain name to set it as an add-on domain? Is it simply set up within the Cpanel and nothing else?

HostGator
Yes, point your new domain to the same nameservers as your old domain.

Simply add your old domain as a new cPanel or as an Addon domain.

Clive
Hi,
What happens when the old domain name expires? Does that affect anything?

Also, I'm installing into WordPress. Do I have to make any adjustments in the General Settings where the URL is located? And will my Login details remain the same?

Thanks in advance for any help you may be able to offer.

HostGator
If you are not using the old domain anymore, then just let it expire. It won't affect your account if it is using the new domain.

Your login remains the same, but you do need to update your WordPress domain name via the wp-admin panel. Read more at "WordPress Home Fix".

http://support.hostgator.com/articles/wordpress-home-fix

rajesh
superb

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment