How to Set Up Google Workspace DNS Records Using cPanel


Google Workspace, formerly known as G Suite, offers a range of productivity and collaboration tools that are invaluable for businesses. However, to make the most out of these services, it’s crucial to set up your DNS records correctly. This guide will walk you through the process of configuring Google Workspace DNS records using cPanel.


Before you begin, make sure you have:

  • An active Google Workspace account
  • Access to your hosting cPanel
  • A registered domain name

Step-by-Step Guide

Step 1: Log in to cPanel

First, log into your cPanel account. The login URL and credentials are usually provided by your hosting provider. You can log into your Eclpst cPanel at “yourdomain.com/cpanel” by using your credentials.

Step 2: Access the Zone Editor

Once logged in, scroll down to the “Domains” section and click on “Zone Editor.”

Step 3: Update MX Records

Google Workspace requires specific MX records for email services. Here are the records you’ll need to add:

  • Priority 1: ASPMX.L.GOOGLE.com
  • Priority 5: ALT1.ASPMX.L.GOOGLE.com and ALT2.ASPMX.L.GOOGLE.com
  • Priority 5: ALT2.ASPMX.L.GOOGLE.com and ALT2.ASPMX.L.GOOGLE.com
  • Priority 10: ALT3.ASPMX.L.GOOGLE.com and ALT4.ASPMX.L.GOOGLE.com

In the Zone Editor, click on “Manage” next to your domain name. Then, click on “Add Record” and select “MX” to enter these records.

Step 4: Update SPF Record

An SPF record helps in reducing email spam. Add the following SPF record:

v=spf1 include:_spf.google.com ~all

In the Zone Editor, click on “Add Record” and select “TXT” to enter this SPF record.

Step 5: Optional CNAME Records

If you wish to set up CNAME records for mail and calendar, you can add the following:

  • mail should point to ghs.googlehosted.com
  • calendar should point to ghs.googlehosted.com

Again, use the “Add Record” option in the Zone Editor and select “CNAME” to enter these records.

Step 6: Domain Verification

To verify your domain with Google Workspace, you’ll need to use the Setup Wizard provided by Google. This will give you a unique MX record for verification. Follow the on-screen instructions to complete the verification process.


If you encounter any issues during the setup, double-check the entered values and priorities. DNS changes may also take some time to propagate, so be patient.


Setting up Google Workspace DNS records is a crucial step for leveraging Google’s powerful suite of business tools. With cPanel, the process is straightforward and can be completed in a few simple steps. If you encounter any difficulties, don’t hesitate to seek professional help.

Like this article?

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

Leave a comment