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.
- 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.
- 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
- In the DNS Zone Editor, select the domain you're modifying from the drop-down box.
- 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.
- Click Add Record to finish the process.
Change an Existing MX Record
- In the DNS Zone Editor, select the domain you're modifying from the drop-down menu.
- Scroll down to MX (Mail Exchanger).
- Find the MX Record you wish to change, then click Edit.
- Update the information as necessary.
- Click Save.
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:
- In the DNS Zone Editor, choose your domain from the drop-down menu.
- Scroll down to MX (Mail Exchanger).
- Click More to expand the section.
- Choose your setting.
- Click Change to save.
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.