How do I change my MX records?

Overview

MX records control where emails for your domain are routed and sent for delivery. Be sure that the email addresses you want to receive mail at are properly set up and working before changing the MX records to direct mail to the new location. If you change the MX records before setting up those mail accounts, or make an error when changing the MX records, emails sent to you may bounce back to the sender or be lost.

To change your MX records domain:

  1. Navigate to the Custom MX page.
  2. To the right of your domain, click the Edit button.

    G Suite users

    If you have enabled G Suite on your domain in the DreamHost panel, you will see G Suite to the right of your domain. This means your MX records are already pointed to Google where it's currently hosted.

    If you have already purchased G Suite directly through Google and not DreamHost, you'll need to add custom MX records that point to Google as shown below.

There are several options that appear on the Custom MX page which are described below.

Regular DreamHost email

change mx record

Regular DreamHost email is set by default, and all the MX and other mail DNS records are automatically created to send your emails to DreamHost's servers.

You can use the Manage Email page to configure your domain's email addresses, both fully-hosted and forward-only.

change mx record

If you’ve previously hosted your email outside of DreamHost and wish to now host email with DreamHost, you’ll see a button titled Make me regular now! which you can click to change your MX records back to DreamHost.

Custom MX Records

change mx records

If you'd like to host your email at a different company, you can enter that company's MX records at the bottom of this page. This will redirect all new email to the new email hosting company.

Use this if your mail service is hosted by a different provider and you want emails delivered to your mail accounts there.

Example of Google's MX records

When setting up your domain with G Suite, Google's panel will guide you through the configuration of your MX records. Within the G Suite panel, these MX records will display:

Google mx records

You must enter these records into your DreamHost panel as shown below. Make sure to enter the priority before the record name.

Google mx records

Once saved, it will take about 6hrs to update online. Your email will then be hosted with Google.

Do I need to enter the dot at the end of the record?

No. The DreamHost system will add this automatically.

How do I locate my new provider's DNS records?

Your new mail provider will give you the MX records you need to enter on this page. They may also give you Custom A or Custom CNAME records to add as well, but those must be added on the 'Manage Domains' page as 'Custom DNS' records. View the following article for instructions on how to add those (if necessary):

Other considerations

Any DreamHost-hosted mail accounts you currently use will remain active, but existing old emails may not be saved. You can download them in your panel by running a full account backup.

Additionally, the Manage Email page will no longer display or let you configure the old addresses.

Leave the "...still check my email..." option un-checked to ensure emails are properly delivered to your custom MX records server.

To use custom MX records with an external spam filtering service that sends all emails back to DreamHost for delivery to your mail accounts hosted here, see the Mail Service Provider instructions.

See also

Did this article answer your questions?

Article last updated PST.