Skip to content

Email

Set Google Workspace MX in cPanel

Point your domain’s MX at Google from cPanel Zone Editor without leaving the old host in place.

Updated Aug 29, 20263 min read6 reads
Set Google Workspace MX in cPanel
Replace every old MX with Google’s five records in one save.

To set Google Workspace MX in cPanel, you point your domain’s mail exchangers at Google so new mail stops landing on the local server. DNS can stay on ns1.logicweb.com and ns2.logicweb.com while you make the change. You are not enabling Gmail inside the panel; you are only editing MX and related TXT records. If any old MX remains, some messages still arrive in cPanel mailboxes and sit unread.

Add the five Google MX records

Google Admin still lists five hosts: ASPMX.L.GOOGLE.COM at priority 1, then ALT1 through ALT4 at 5, 5, 10, and 10. Priorities matter, so enter them exactly as shown. In cPanel’s Zone Editor, match how your other hostnames are stored for the trailing dot, and stay consistent with that pattern.

text
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
  1. Open cPanel → Zone Editor → your domain → MX.
  2. Delete every existing MX, including the default that matches the hostname.
  3. Add the five Google records with the priorities above.
  4. Save once after the full set is ready, so live mail does not split mid-edit.

Update SPF and leave DKIM to Google

If Google sends mail for the domain, SPF must include Google. A common TXT value is v=spf1 include:_spf.google.com ~all, plus any other senders you still use. Two separate SPF TXT records cause a permerror, so merge everything into one record. Our longer guide is SPF records that actually pass.

DKIM is created in Google Admin and published as a TXT name such as google._domainkey. Do not invent a second DKIM in cPanel Email Deliverability when mail no longer leaves this server. Two DKIM strategies break alignment and make delivery worse.

Confirm mail is reaching Google

bash
dig MX example.com +short
dig TXT example.com +short

MX output should show only the Google hosts. Google Admin’s MX checker usually turns green within an hour when TTL was lowered to 300. Send a test from a third-party account, not from the same Workspace inbox, so you know outside mail arrives.

Google Workspace MX is five records plus an SPF include that covers Google. Delete the old MX in the same edit, then watch Admin go green. When mail is flowing, you can tighten policy with DMARC from none to reject.

Share

Send this article

Need someone else to do this? Send them the link — the commands are in the article.

Was this article helpful?

Be the first to rate this article.