Back to HomeGoogle Workspace

Google Workspace MX Record Setup Tutorial: Complete Steps for Various DNS Providers

5 min min read
#Google Workspace#MX Record#DNS Setup#Technical Tutorial#Email Setup#GoDaddy#Cloudflare#Domain Setup

Google Workspace MX Record Setup Tutorial: Complete Steps for Various DNS Providers

Google Workspace MX Record Setup Tutorial: Complete Steps for Various DNS Providers

"Google Workspace is set up, but I can't receive emails?"

The problem is usually MX record configuration. MX records tell the internet "where to send emails for this domain." If configured incorrectly, emails won't be received.

This article teaches you how to set up Google Workspace MX records, including steps for major DNS providers.

MX Record Basics

What is an MX Record?

MX (Mail Exchange) record is a type of DNS record:

  • Specifies mail server location
  • Tells senders "where to deliver emails"
  • Every domain receiving email needs MX records

Google Workspace MX Record Values

Setting up Google Workspace requires adding these MX records:

PriorityMail Server
1ASPMX.L.GOOGLE.COM
5ALT1.ASPMX.L.GOOGLE.COM
5ALT2.ASPMX.L.GOOGLE.COM
10ALT3.ASPMX.L.GOOGLE.COM
10ALT4.ASPMX.L.GOOGLE.COM

Key points:

  • Lower priority number means higher priority
  • Primary server is ASPMX.L.GOOGLE.COM
  • Others are backup servers

Setup Steps (General)

Step 1: Find DNS Management Page

Log into your domain management backend (GoDaddy, Namecheap, Cloudflare, etc.) and find "DNS Management" or "DNS Settings."

Step 2: Delete Old MX Records

If there are old MX records, delete them first:

  • Avoid conflicts
  • Ensure emails only go to Google

Step 3: Add Google MX Records

Add the 5 MX records from the table above in order.

Field explanation:

  • Type: MX
  • Name/Host: @ or leave blank (represents root domain)
  • Value/Points to: Mail server address
  • Priority: Corresponding number
  • TTL: 3600 or default value

Step 4: Wait for Propagation

DNS changes take time to propagate:

  • Usually a few minutes to a few hours
  • Up to 48 hours maximum
  • Use tools to check if propagated

DNS Provider Setup Tutorials

GoDaddy

  1. Log into GoDaddy account
  2. Go to "My Products" → Find domain
  3. Click "DNS"
  4. In "Records" section, find MX records
  5. Delete existing MX records
  6. Click "Add," select type "MX"
  7. Add 5 records in order
  8. Save changes

Note: In GoDaddy, fill @ in the "Name" field

Cloudflare

  1. Log into Cloudflare Dashboard
  2. Select your domain
  3. Click "DNS"
  4. Delete existing MX records
  5. Click "Add record"
  6. Select type "MX"
  7. Name: @
  8. Mail server: corresponding value
  9. Priority: corresponding number
  10. Repeat for other 4 records

Note: Cloudflare MX records don't need (and can't) have Proxy enabled

Namecheap

  1. Log into Namecheap
  2. Go to "Domain List"
  3. Click "Manage" next to domain
  4. Click "Advanced DNS"
  5. In "Mail Settings" section
  6. Select "Custom MX"
  7. Add 5 records in order

Google Domains (Transferred to Squarespace)

If your domain is on Google Domains:

  1. Log into Google Domains (or Squarespace Domains)
  2. Select domain
  3. Go to "DNS"
  4. Add MX records under "Custom records"

Good news: Google Domains has a one-click setup option for Google Workspace.

Other Necessary DNS Records

After setting up MX records, it's recommended to also set up these records:

SPF Record

Prevents emails from being marked as spam:

Type: TXT Name: @ Value: v=spf1 include:_spf.google.com ~all

DKIM Record

Email digital signature (obtained from Admin Console):

  1. Log into admin.google.com
  2. Go to "Apps" → "Google Workspace" → "Gmail"
  3. Click "Authenticate email"
  4. Generate DKIM key
  5. Add TXT record as instructed

DMARC Record

Email authentication policy:

Type: TXT Name: _dmarc Value: v=DMARC1; p=none; rua=mailto:[email protected]

Verifying Configuration

Using Google Admin Toolbox

  1. Go to Google Admin Toolbox
  2. Enter your domain
  3. Check if MX records are correct

Using Online Tools

  • MXToolbox: mxtoolbox.com
  • DNSChecker: dnschecker.org

Sending Test Emails

After setup is complete:

  1. Have an external friend send you an email
  2. Confirm you can receive it normally
  3. Reply to confirm you can send normally

Common Problem Troubleshooting

Problem: Can't Receive Emails

Check:

  1. Are MX records correct
  2. Are there conflicting old MX records
  3. Has DNS propagated (check with tools)
  4. Is Google Workspace account activated

Problem: Emails Go to Spam

Check:

  1. Is SPF record correct
  2. Is DKIM set up
  3. Is DMARC set up

Problem: Only Some Emails Not Received

Possible causes:

  1. Sender's mail server DNS cache hasn't updated
  2. Wait 24-48 hours and observe

Problem: Website Won't Open After Setup

Cause: Accidentally deleted A record or CNAME record Solution: MX records and website A records are separate; confirm you didn't touch A records

FAQ

Do I need all 5 MX records?

Recommended to set up all:

  • First one is primary server
  • Others are backups
  • If primary server is busy, emails go to backups

What should TTL be?

  • 3600 (1 hour) is common
  • Can set shorter during setup (300) for easier testing
  • Can set longer after stable

How long until it takes effect?

  • Usually a few minutes to a few hours
  • Up to 48 hours maximum
  • Depends on each DNS server's cache

Having Trouble with Setup?

Incorrect MX record setup will cause emails not to be received, affecting company operations. If you're not sure how to set up:

Schedule a technical consultation and let experts help you complete the setup to ensure emails work properly.


Related Reading


References

Need Professional Cloud Advice?

Whether you're evaluating cloud platforms, optimizing existing architecture, or looking for cost-saving solutions, we can help

Book Free Consultation

Related Articles