1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Pointing My Domain to HostGator When Using DNS Elsewhere

Pointing My Domain to HostGator When Using DNS Elsewhere

While it is sometimes preferable to use DNS servers other than HostGator's, we recommend that you change your domain's name servers to those we provide so that our servers can manage your DNS for you automatically. Typically, you would use other name servers if you currently have many DNS records set up elsewhere and only wish to use HostGator for certain services. Otherwise, it is better to simply point the nameservers to HostGator and manage the DNS here.

Using Non-HostGator DNS Servers

If you do not use our DNS servers, you will need to manually update the individual DNS records on the remote DNS server as HostGator staff will not be able to make changes for you. Also, any changes to your HostGator server, such as adding subdomains or a change in IP address, will not be reflected in the remote DNS automatically as they would if you used our DNS. If you are uncomfortable doing this, we recommend you use our nameservers instead.


How to Point Your Domain to HostGator for Web Hosting

You will need to create or change some A records at your DNS server to accomplish this. In most cases, you will need to create one entry for your domain without the www and another entry with the www, assuming you want your website to show up regardless of how visitors type your domain name in a browser.

The method for changing A records varies, so you will want to reference the specific instructions for your DNS server.
DNS Record Display

Many DNS name servers will display DNS records in various fashions. Below are some examples of how the A records may appear.

Example One:
NameTTLTypeAddress
@

14400

A

111.222.333.444

www

14400

A

111.222.333.444

Example Two:
NameTTLTypeAddress
example.com.

14400

A

111.222.333.444

www.example.com.

14400

A

111.222.333.444

Example Three:
NameTTLTypeAddress
example.com.

14400

A

111.222.333.444

www.example.com.

14400

CNAME

example.com.

You may still find more slight variations. Don't panic, though. The rule of thumb is to create your entries to look like the ones already there. If the entry already exists, then edit it instead of adding a new one.

You may need to consult the documentation of your DNS server to ensure how the records should be formatted. Contact support of the company providing the DNS server if you are unsure how to proceed.
What to Change
  • IP address - Instead of using the IP address (111.222.333.444) used in the examples above, you will want to replace that information with your website's actual Site IP address. Your Site IP address can be found in the General Information panel located on the right-hand side of your cPanel, or you can contact us via phone or Live Chat to assist you in finding this information.

    HostGator cPanel General Information for Site IP

  • Domain Name - You should also substitute your actual domain where it currently says example.com.

Leave all other information the same (formatted according to the specifications of your DNS server).


How to Point Your Domain to HostGator for Email

You will need to create (or edit) an A record and an MX record to point your domain to HostGator for email.

The method for making changes to A records and MX records may vary, so you will want to reference the instructions for your DNS server.

Many servers represent the A and MX records like in the example listed below:

NameTTLPriorityTypeAddress
example.com.

 

0

MX

mail.example.com.

mail.example.com.

14400

 

A

111.222.333.444

Note: Certain DNS servers will allow you to omit the period after the domain name. You may need to consult the documentation for your DNS server or contact your DNS server's support if you are not certain how they are supposed to be formatted.

What to Change
  • IP address - Instead of using the IP address (111.222.333.444) used in the examples above, you will want to replace that information with your website's actual Site IP address. Your Site IP address can be found in the General Information panel located on the right-hand side of your cPanel, or you can contact us via phone or Live Chat to assist you in finding this information.
  • Domain name - You should also make sure to substitute your actual domain name where it currently says example.com.
  • Subdomain - You do not need to use mail.example.com, as shown in the example above. You may actually use any subdomain you desire, which is useful if mail.exampledomain.com is currently in use for something else. You only need to make sure that this subdomain is pointing to your HostGator's A record or Site IP that you created (or edited) earlier.
    For more information on how to change your DNS records at HostGator, please see the following articles:

Where to Obtain Support

If you need your HostGator Site IP address, you may contact us via phone or Live Chat to show you how to find this information within your cPanel.

If you require assistance with a non-HostGator DNS server, we recommend contacting the company that provides your DNS server since they are knowledgeable of how their servers are configured.