How to configure Email Routing and MX records for Google Mail

If you're planning to use your domain with Google Mail (Google Workspace), you’ll need to make a few configuration changes in cPanel and your DNS settings. This guide will walk you through the process step by step.

Setting Your Mail Routing to Remote Mail Exchanger

When using Google Mail, your email is handled by Google’s mail servers instead of the hosting server. To ensure proper delivery, you must set mail routing to Remote Mail Exchanger.

Steps:

  1. Access cPanel: Log in to your cPanel account.

  2. Navigate to Email Routing: Click Email Routing under the EMAIL section.

  3. Select Your Domain: Choose the domain you want to use with Google Mail/Google Workspace from the dropdown list.

  4. Select Remote Mail Exchanger: Click the Remote Mail Exchanger radio button.

  5. Save Changes: Click Change to finish.

Setting Up Google MX Records

The next step involves making changes to your domain’s DNS records so that incoming emails are routed to Google’s mail servers.

DNS records can be managed using the DNS Zone Editor in cPanel.

Remove Existing MX Records

Add Google MX Records

Add the following Google MX records exactly as shown:

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

TTL can be left as the default value or set to 300 seconds.

To improve email deliverability and protect your domain from spoofing, it is strongly recommended to configure SPF, DKIM, and DMARC records.

Important Notes

Google Official Guides

For detailed and up-to-date instructions, please refer to Google’s official documentation:

DNS Propagation

DNS changes can take up to 24 hours to fully propagate worldwide. During this time, email delivery may be intermittent.

Need Help?

If you’re unsure about any step or need assistance, don’t hesitate to contact our Cyberin Support Team. We’re here to help you every step of the way.