Customer Portal - Change Primary Domain
Depending on the hosting package you have, here are the steps to change the primary domain in your account.
Please click the links below to jump to a section.
- Prechecks ⤵
- Shared and Reseller accounts ⤵
- Windows Shared accounts ⤵
- VPS and Dedicated accounts ⤵
- Changing Addon and Subdomain names ⤵
Prechecks
Before changing your primary domain, be sure you know what to expect by reading:
Shared and Reseller accounts
To change your primary domain name:
- Log in to Customer Portal.
- Select Hosting from the left-side menu.
- Select Manage on the shared package you wish to update.
- Click on the Settings tab.
- On the right-hand side, click Change Domain.
- Enter the New Domain name you wish to use.
This step will only change the domain setup on the server and will not register your new domain. You can always register a new domain name with HostGator at hostgator.com/domains.
- Click Update Domain.
- You will receive a notification indicating that your domain change was successful.
Warning
Domain update successful! This change will be reflected in your cPanel immediately.
Error Message - Addon Issues
Unable to update your primary domain name. Please review the details below, or please contact us via phone or Live Chat, and our Billing administrators will be happy to assist you.
The notification above indicates that you have an additional service tied to your packages, such as SiteLock. You will not be able to change the primary domain name of the associated package from within your Customer Portal. This error occurs because the additional service is directly configured to work on a specific domain name.
Windows Shared accounts
To change the primary domain of your Windows Shared hosting plan, please reach out to us via phone or Live Chat for assistance.
VPS and Dedicated accounts
VPS and Dedicated hosting packages are initially provisioned with the domain name chosen during your sign-up. This domain name gets assigned as your hostname, and updating this requires complex modifications to your server's configuration.
If you have purchased VPS or Dedicated hosting with HostGator, you will need to check your hosting Package ID to confirm what options are available for changing the primary domain on your hosting account. Please check out the article How to Tell if You Are on a New or Legacy Hosting Package for more information on where to find your Package ID in your Customer Portal.
- If your Package ID starts with VH or DH, follow the new KVM VPS and Dedicated hosting instructions below.
- If your Package ID starts with VPS or DC, please contact us via phone or Live Chat so we can change your legacy hosting's primary domain for you. There is no charge for this service.
To update the primary domain (for Package ID VH or DH):
- Log in to your Customer Portal.
- Navigate to the Hosting section.
- Locate your VPS or Dedicated hosting, then click Manage.
- On the next page, you will see your Package ID just below your current domain name. Under the Settings tab, click the Change Domain button.
- Enter your new domain name in the text box. You can also review the pre-checklists for changing primary domains by clicking the Change Primary domain checklist link.
- Click the Update Domain button.
- A confirmation prompt will be displayed, notifying you of the successful update.
Changing Addon and Subdomain names
You will not need HostGator's billing tool to create or change your subdomains, addon domains, or parked domains for packages using cPanel.
Please note that an addon domain is different from the primary domain in the account. For more information on managing subdomains, addon domains, and parked domains, see the following article:
How to change an addon domain name and keep the content
- Register your new domain name through our front-of-site hostgator.com/domains.
- Please check the article, Registering a Domain Name with HostGator, for more details.
- Log in to your cPanel.
- In the Domains section, click the Addon Domains icon.
- Enter your new domain name.
- In the Document Root box, enter the document root of the old addon domain. This path is the location where the website files for the domain are stored. You can see this under the Modify Addon Domain section.
For additional information on document root folders, please refer to the following article:
- Click the Add Domain button to add the new domain in cPanel using the old document root you entered as the new document root value.
- Remove the old addon domain.