Amazon Web Services: Set up MX records

Tip! Only Google Workspace customers who want to use Gmail must change their MX records. You can skip this procedure and continue to use your current email provider with Google Workspace.

You’re now ready to set up Gmail as your business email for your domain (and, if you haven’t already, verify your domain).

To do this, you need to sign in to your domain host and direct the email for your domain to the Google Workspace servers. It’s like registering your new address with the post office when you move so that your mail gets delivered to the right place. We’ll walk you through the steps.

Before you begin

  • Verify that you own your domain.

    Or, you can verify now with an MX record. We’ll show you how while you're setting up the MX records.

  • Create user accounts in Google Workspace for your team.

    If your team members already use email with your domain (their email address ends with your domain), you have to create their user accounts in Google Workspace before you change any MX record settings. Otherwise, they won't be able to send or receive messages with their business address in Gmail.

Change your MX records

Step 1: Sign in to your domain host

  1. Leave the Google Admin console setup instructions open.
  2. Open the Amazon Web Services (AWS) site in a new tab or browser window.
  3. Click My Accountand thenAWS Management Console.
  4. Enter the email address and password you created when you purchased your domain from AWS.
  5. Click Sign In.

    If you don’t know your account information, you can reset your password or contact AWS customer support.

Step 2: Go to your DNS records

  1. Under AWS Services, click Route 53.

    Route 53 is selected

    Or you can click All servicesand thenNetworking & Content Deliveryand thenRoute 53.

  2. Click Hosted zones.

    Hosted zones option is selected

  3. Under Domain name, click the domain that you want to set up with Gmail.

Sep 3: Delete existing MX records

  1. In the Records section, check the box at left to select all existing MX records.

    The MX records in the Value field are selected for deletion.

  2. Click Delete record. Don’t worry, you’ll add new MX records in the next step.

Step 4: Add the new MX records

To direct your email to your Google Workspace account, you have to add new MX records to your domain. These are the records that you need to add:
MX server address Priority
ASPMX.L.GOOGLE.COM 1
ALT1.ASPMX.L.GOOGLE.COM 5
ALT2.ASPMX.L.GOOGLE.COM 5
ALT3.ASPMX.L.GOOGLE.COM 10
ALT4.ASPMX.L.GOOGLE.COM 10
Important: Some registrars require you to add a period after the .COM in the MX server address.
  1. In the Records section, click Create record.
  2. Leave Routing policy as Simple routing.
  3. Leave Record name blank.
  4. Leave Alias off (slider to the left).
  5. For Record type select MX - Specifies mail servers.
  6. In the TTL (seconds) field, leave the default value.
  7. In the Value field, enter all of the records shown in the table above, each on its own line. Enter the Priority followed by the MX server address. Include the period at the end of each record.

    The Edit Record Set pane is filled out with all of the G Suite MX records. For example: 1 aspmx.l.google.com.

  8. After all of the MX records have been added, click Create records.

Step 5: Tell Google to find your new MX records

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. Check the boxes to confirm:

    1. You've created accounts for all existing email addresses in your organization.

    2. You're ready to stop receiving messages at your old email provider and start receiving them in Google Workspace.

  3. Click Continue.

  4. Scroll to the bottom of the next page and click Activate Gmail.



Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue