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:
| Priority | Mail Server |
|---|---|
| 1 | ASPMX.L.GOOGLE.COM |
| 5 | ALT1.ASPMX.L.GOOGLE.COM |
| 5 | ALT2.ASPMX.L.GOOGLE.COM |
| 10 | ALT3.ASPMX.L.GOOGLE.COM |
| 10 | ALT4.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
- Log into GoDaddy account
- Go to "My Products" → Find domain
- Click "DNS"
- In "Records" section, find MX records
- Delete existing MX records
- Click "Add," select type "MX"
- Add 5 records in order
- Save changes
Note: In GoDaddy, fill @ in the "Name" field
Cloudflare
- Log into Cloudflare Dashboard
- Select your domain
- Click "DNS"
- Delete existing MX records
- Click "Add record"
- Select type "MX"
- Name:
@ - Mail server: corresponding value
- Priority: corresponding number
- Repeat for other 4 records
Note: Cloudflare MX records don't need (and can't) have Proxy enabled
Namecheap
- Log into Namecheap
- Go to "Domain List"
- Click "Manage" next to domain
- Click "Advanced DNS"
- In "Mail Settings" section
- Select "Custom MX"
- Add 5 records in order
Google Domains (Transferred to Squarespace)
If your domain is on Google Domains:
- Log into Google Domains (or Squarespace Domains)
- Select domain
- Go to "DNS"
- 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):
- Log into admin.google.com
- Go to "Apps" → "Google Workspace" → "Gmail"
- Click "Authenticate email"
- Generate DKIM key
- 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
- Go to Google Admin Toolbox
- Enter your domain
- Check if MX records are correct
Using Online Tools
- MXToolbox: mxtoolbox.com
- DNSChecker: dnschecker.org
Sending Test Emails
After setup is complete:
- Have an external friend send you an email
- Confirm you can receive it normally
- Reply to confirm you can send normally
Common Problem Troubleshooting
Problem: Can't Receive Emails
Check:
- Are MX records correct
- Are there conflicting old MX records
- Has DNS propagated (check with tools)
- Is Google Workspace account activated
Problem: Emails Go to Spam
Check:
- Is SPF record correct
- Is DKIM set up
- Is DMARC set up
Problem: Only Some Emails Not Received
Possible causes:
- Sender's mail server DNS cache hasn't updated
- 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
- For complete introduction, see Google Workspace Complete Guide
- For admin tutorial, see Google Workspace Admin Complete Guide
- For SMTP setup, see Google Workspace SMTP Setup Tutorial
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 ConsultationRelated Articles
Google Workspace Admin Complete Guide: Admin Console Setup, User Management & Security Configuration
Google Workspace admin tutorial! Complete guide to Admin Console operations, user add/delete, 2FA setup, MX record configuration - a must-read guide for new administrators.
Google WorkspaceGoogle Workspace SMTP Setup Complete Tutorial: Server Settings, Sending Limits & Troubleshooting
How to set up Google Workspace SMTP? Complete tutorial on SMTP Relay configuration, sending limits explanation, WordPress integration, and common error troubleshooting!
Google WorkspaceGemini for Google Workspace Complete Guide: AI Features, Pricing & Tutorial【2025】
How to use Gemini for Google Workspace? Complete analysis of AI feature differences across plans, Gmail/Docs/Sheets practical applications, pricing and add-on options. A must-read for enterprise AI adoption!