To get Google Workspace (formerly G Suite) email working with your domain through cPanel, you need to configure the DNS settings, particularly the MX records. Here’s a step-by-step guide to do that:
✅ Step 1: Remove Old Email Records (If Any)
In cPanel:
- Go to Zone Editor.
- Locate your domain and click Manage.
- Remove any existing MX, SPF, and DKIM records that are related to your previous email provider.
✅ Step 2: Add Google Workspace MX Records
You’ll need to add the following MX records for your domain:
Priority | 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 |
In cPanel:
- Go to Zone Editor > Manage for your domain.
- Click Add Record > Choose MX.
- Set each record as above (Priority and Destination).
- Set TTL to default (or
3600
seconds).
✅ Step 3: Add SPF Record for Google (Optional but Recommended)
Add this TXT record:
Name | Type | Value |
---|---|---|
@ | TXT | v=spf1 include:_spf.google.com ~all |
✅ Step 4: Add DKIM Record (from Google Admin)
After enabling DKIM in Google Admin Console:
- Google will provide a TXT record like this:
Name | Type | Value |
---|---|---|
google._domainkey.yourdomain.com | TXT | (DKIM key value from Google) |
Add that in cPanel under Zone Editor.
✅ Step 5: Add DMARC Record (Optional but Encouraged)
Name | Type | Value |
---|---|---|
_dmarc | TXT | v=DMARC1; p=none; rua=mailto:you@yourdomain.com |
You can change the policy from none
to quarantine
or reject
once everything is working.
✅ Step 6: Set Email Routing in cPanel
In cPanel:
- Go to Email Routing.
- Select your domain.
- Choose: Remote Mail Exchanger.
- Click Save.
✅ Final Step: Test Email Delivery
- Wait up to 48 hours for DNS propagation.
- Send test emails to and from your Google Workspace account to verify it’s working.