HostGator Web Hosting Help

DNS Management - How To Edit MX Records

A mail exchanger (MX) record is a type of DNS record that identifies which server will handle the incoming mail for your domain. MX records always point to a domain; never to an IP address. When using HostGator name servers, your default MX record is your domain name which contains a local IP address to the server so all mail is handled locally, but this record can be modified to point to a third-party email host, or you can add additional MX records and set their priority.



Access the Zone Editor

If you host your email outside of us, your email provider will likely give you their MX Record settings to use. You can change the MX records by logging into your account, going to the Domains section, and accessing the DNS Zone Editor.

  1. Click the Domains tab.
    • For Legacy Accounts, the Domains option will appear in the sub-menu at the top of the screen.
    • Rock Account users will see the Domains tab on the left-hand side menu.
  2. Click the Zone Editor from the sub-menu.

To point your email away from HostGator, obtain the MX destination for your new mail hosting provider and then follow the steps below to either add a new MX record or change an existing one. It can take up to 48 hours before your updated DNS settings are live.

Add a New MX Record

  1. In the DNS Zone Editor, select the domain you're modifying from the drop-down box.
  2. Scroll down to Add DNS Record and enter information in the following fields:
    • Host Record. Enter the domain you're modifying. In most cases, you simply need to type the @ symbol.
    • TTL. Leave this field at its default setting.
    • Type. Select MX from the drop-down menu.
    • Points To. Enter the mail server's name. This must be a domain name, not an IP address.
    • Priority. This field dictates the order in which the MX entries are applied. Please refer to your MX entry provider for the proper settings.
  3. Click Add Record to finish the process.

Change an Existing MX Record

  1. In the DNS Zone Editor, select the domain you're modifying from the drop-down menu.
  2. Scroll down to MX (Mail Exchanger).
  3. Find the MX Record you wish to change, then click Edit.
  4. Update the information as necessary.
  5. Click Save.

Email Routing

The email routing setting in your Zone Editor determines how outgoing email is handled for a particular domain. There are three possible settings:

  • Local Mail Exchanger. Use this setting if the domain's email is hosted by HostGator, even if the domain uses third-party name servers.
  • Remote Mail Exchanger. Use this setting if the domain's email is not hosted by HostGator and your MX records are pointed to a third-party email server.
  • Automatically Detect Setting. Use this setting if you aren't sure. The server will decide if the setting should be Local or Remote based on the MX record. This is usually not recommended.

It's important for the email routing setting to be accurate for each of your domains to prevent any delivery failure issues. Follow these steps to update your email routing settings:

  1. In the DNS Zone Editor, choose your domain from the drop-down menu.
  2. Scroll down to MX (Mail Exchanger).
  3. Click More to expand the section.
  4. Choose your setting.
  5. Click Change to save.

Troubleshooting

If you're seeing errors when sending email from one HostGator domain to another, or if emails sent to a particular domain never arrive, it's possible that your email routing setting needs to be updated.

  • Are you using a third-party mail host?

    If you're not using HostGator to host your emails, you'll need to change the domain's email routing setting to remote.

  • I can't send email to another account on the same server!

    This could be a problem with your email routing setting in the DNS Zone Editor. Check your email routing settings to make sure that any domains using HostGator's mail servers are set to Local, and domains using a third-party mail host are set to Remote.

  • What does "Temporary Local Problem" mean when trying to send mail?

    That is usually a symptom of an incorrect email routing setting. Make sure your HostGator-hosted domains are set to Local, and domains with email hosted with a third-party are set to Remote. If it appears the setting is already correct, change the setting and change it back. This will ensure the email route rule is correctly applied to your domain.


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to Modify Your DNS Records
Knowledgebase Article 1,535,604 views tags: a aaaa access cname dns editor management mx nameserver ns ptr server spf txt update zone

Sender Policy Framework records, or SPF records are a type of DNS record used to identify which mail servers should be allowed to send email from a certain domain name.
Knowledgebase Article 255,601 views tags: email prevent spf spoof spoofing

A definition of AAAA Records
Knowledgebase Article 342,974 views tags: aaaa dns record zone

Related Help Content

What are the commonly used DNS entries?
Knowledgebase Article 840,171 views tags: a aaaa cname dns record srv txt zone

Definition of an A Record
Knowledgebase Article 849,648 views tags: a dns file host ip record zone

Any time DNS is updated, it can take up to 48 hours for those changes to take effect. This period of time is called propagation, and it applies to any and all DNS updates. This article will explain what propagation is and why it's important.
Knowledgebase Article 162,193 views tags: a cache cname dns domains mx propagation txt

Definition of a TXT Record
Knowledgebase Article 464,842 views tags: dns record txt zone

Definition of an SRV Record
Knowledgebase Article 317,013 views tags: dns record srv zone

How do I Change My DNS?
Knowledgebase Article 497,758 views tags: change delegate dns modify

Windows Live Mail combines the ease of use of Outlook Express, with the speed of Windows Live. This tutorial will show you how to setup your email account in Windows Live Mail.
Video "How-to" Tutorial 312,464 views tags: email emailclient mail

Definition of an MX Entry
Knowledgebase Article 381,540 views tags: dns entry mx zone