How to Set Up MX Records in cPanel for Google Workspace Email
If you have purchased Google Workspace (formerly G Suite) for your business email, one of the most important steps is configuring the Mail Exchange (MX) reco...
If you have purchased Google Workspace (formerly G Suite) for your business email, one of the most important steps is configuring the Mail Exchange (MX) records of your domain.
MX records tell the Internet where emails for your domain should be delivered. Without correct MX records, your Google Workspace email addresses (such as info@yourdomain.com) will not receive emails.
This guide explains how to configure Google Workspace MX records in cPanel safely and correctly.
What are MX Records?
MX (Mail Exchange) records are special DNS records that specify which mail servers receive incoming email for your domain.
For example:
info@company.com
When someone sends an email to this address, the sender's mail server checks the MX records of company.com to determine where to deliver the email.
If you are using Google Workspace, all email must be routed to Google's mail servers.
Before You Begin
Make sure you have:
- Active Google Workspace subscription
- Access to your hosting cPanel
- Access to your domain DNS Zone
- Google Workspace Admin account
- Domain already verified in Google Workspace
Step 1 – Login to cPanel
Login to your hosting account.
Open cPanel.
Locate:
Domains → Zone Editor
(Some hosting providers may call it DNS Zone Editor.)
Step 2 – Open DNS Zone
Locate your domain.
Click
Manage
You will now see all DNS records such as:
- A Record
- CNAME
- TXT
- MX
- SPF
- DKIM
Step 3 – Remove Existing MX Records
Before adding Google's MX records, remove all existing MX records.
Locate every MX record.
Click
Delete
for each one.
Important:
Remove only MX records. Do not delete A, CNAME, TXT, SPF or DKIM records unless instructed.
Step 4 – Add Google Workspace MX Records
Click
Add Record
Select
Record Type = MX
Now add the following records one by one.
| 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 |
For each record configure:
- Type = MX
- Priority = As shown above
- Destination = Google Mail Server
- TTL = 14400 (or hosting provider default)
Click Save after adding each record.
Step 5 – Check MX Records
After saving all records, verify they are correctly added.
You can verify using:
- Google Admin Console
- MX Lookup tools
- DNS Checker websites
- Command Prompt (nslookup)
Example:
nslookup -type=mx yourdomain.com
Expected output should display Google's mail servers.
Step 6 – Configure Email Routing in cPanel
Some hosting providers require Email Routing to be changed.
Open
Email → Email Routing
Select your domain.
Choose
Remote Mail Exchanger
Click
Change
This ensures your hosting server forwards all incoming email to Google's servers instead of trying to deliver it locally.
Step 7 – Verify in Google Admin Console
Login to your Google Workspace Admin Console.
Navigate to:
Domains
↓
Manage Domains
Select your domain.
Google will automatically detect the new MX records.
Once verified, your domain status becomes:
Gmail Activated
Step 8 – Wait for DNS Propagation
DNS changes do not become active immediately.
Typical propagation time:
- 5 minutes
- 30 minutes
- 2 hours
- Up to 24 hours
- Occasionally 48 hours
This depends on DNS caching and your domain registrar.
How to Test Your Email
After propagation:
- Send an email from Gmail to your domain.
- Send an email from your domain to another email account.
- Confirm both incoming and outgoing emails work properly.
Common Mistakes
Leaving Old MX Records
Old mail server records can cause random email delivery failures.
Wrong Priority Numbers
Google recommends:
1
5
5
10
10
Changing priorities may affect mail routing.
Selecting Local Mail Exchanger
If Email Routing is set to Local instead of Remote, incoming emails may never reach Google Workspace.
Forgetting DNS Propagation
Do not panic if verification fails immediately after updating DNS. Wait for propagation.
Typographical Errors
A single incorrect character in the mail server hostname will prevent email delivery.
Always double-check each entry.
Best Practices
- Keep SPF records updated.
- Enable DKIM authentication.
- Configure DMARC for email security.
- Enable Two-Factor Authentication for Google Workspace accounts.
- Monitor email logs after migration.
- Backup important email before switching providers.
- Verify DNS using multiple lookup tools.
Benefits of Google Workspace Email
- Professional business email
- Excellent spam protection
- Large mailbox storage
- Gmail interface
- Google Meet integration
- Google Calendar
- Google Drive
- Google Docs
- Mobile synchronization
- High reliability
- Enterprise-grade security
- Easy administration
Troubleshooting Tips
If emails are not working:
- Verify MX records again.
- Ensure Email Routing is Remote Mail Exchanger.
- Check domain verification status.
- Confirm DNS propagation has completed.
- Remove duplicate MX records.
- Flush local DNS cache.
- Restart your email client.
- Test using an online MX lookup tool.
Conclusion
Properly configuring Google Workspace MX records is essential for reliable business email delivery. By replacing your old MX records with Google's recommended entries and setting Email Routing to Remote Mail Exchanger, your domain will successfully route all incoming email through Google's secure infrastructure.
After DNS propagation and verification in the Google Admin Console, your organization can enjoy secure, reliable, and professional email services powered by Google Workspace.
#GoogleWorkspace #Gmail #BusinessEmail #EmailHosting #cPanel #DNS #MXRecords #GoogleAdmin #GoogleCloud #Workspace #EmailSetup #ITSupport #SysAdmin #Domain #Hosting #WebHosting #DNSManagement #CloudEmail #BusinessTechnology #GoogleApps #EmailSecurity #SPF #DKIM #DMARC #ProfessionalEmail #BusinessSolutions #ServerAdmin #TechGuide #Tutorial #NetworkAdmin #MailServer #WebsiteHosting #ITInfrastructure #CloudComputing #Productivity #EmailConfiguration #SmallBusiness #EnterpriseIT #DNSLookup #GoogleServices #TechSupport #HostingSupport #EmailMigration #DomainManagement #SystemAdministrator #BusinessProductivity #DigitalBusiness #GoogleBusiness #EmailAdmin #Technology
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.