Knowledgebase Home / Configure Google MX Records in a cPanel Hosting Account
// View Comments //

Configure Google MX Records in a cPanel Hosting Account

In this tutorial, we will go over a few simple steps to configure the MX records to use Google Workspace. Please note, that you must have an active Google Workspace subscription for your mail to function properly.

Note (Updated 2023):
Google Workspace has released new recommended MX records as of 2023 to improve email routing, security, and performance. If you’re setting up or updating your MX records, we recommend following the new configuration provided by Google. The legacy MX records are still supported but may be phased out in the future.

Google MX Records

Current version (2023 & later):

Name/Host/Alias* Priority Value/Answer/Destination
Blank or @ 1 SMTP.GOOGLE.COM
Legacy version (before 2023):
Name/Host/Alias  Time to Live (TTL*)  Record Type  Priority  Value/Answer/Destination
@ or leave blank  3600 MX  1 ASPMX.L.GOOGLE.COM.
@ or leave blank  3600 MX  5 ALT1.ASPMX.L.GOOGLE.COM.
@ or leave blank  3600 MX  5 ALT2.ASPMX.L.GOOGLE.COM.
@ or leave blank  3600 MX  10 ALT3.ASPMX.L.GOOGLE.COM.
@ or leave blank  3600 MX  10 ALT4.ASPMX.L.GOOGLE.COM.

Quick Steps

  1. Login to cPanel and click the Zone Editor icon.
  2. Click Manage near the required domain and filter MX records in the zone records.
  3. Make a note of your Google MX records.
  4. Click “Add MX record” from the drop-down, enter the Google MX records, and click Save.
  5. Click the Email Routing icon in the cPanel
  6. Select “Remote Mail Exchanger” and click Change.

How to Configure Google MX Records in a cPanel

The first step would be to log into your cPanel hosting account and locate the “Zone Editor” icon under the Domains section as below.

cPanel domains panel

cPanel domains panel

Once you have clicked on the Zone Editor icon, you will be taken to the DNS configuration page as below. It will list all the domains added in the cPanel. Click on the “Manage” button near the domain you want to add the Google MX records. For this tutorial, we will use our veerotechdemo.com domain for reference.

cpanel zone editor

cpanel zone editor

On the next screen, you will see all the DNS records associated with the domain.

cpanel zone editor add record

cPanel zone editor add record

cPanel has added a filter option to see only the specific records needed. Click “MX” in the filter section to see the current MX records. By default, there will be a default MX record.

cpanel zone editor records list

cPanel zone editor records list

Now we can add MX records provided by Google. The records can be found in the email you received or here: Google Workspace

We’ve also provided them below:

Current version (2023 & later):

Priority: 1
Destination: SMTP.GOOGLE.COM

Legacy version (before 2023):

Priority: 1
Destination: ASPMX.L.GOOGLE.COM

Priority: 5
Destination: ALT1.ASPMX.L.GOOGLE.COM

Priority: 5
Destination: ALT2.ASPMX.L.GOOGLE.COM

Priority: 10
Destination: ALT3.ASPMX.L.GOOGLE.COM

Priority: 10
Destination: ALT4.ASPMX.L.GOOGLE.COM

Choose “Add MX record” from the “Add Record” blue drop-down button just above the filter section to add new MX records.

cpanel zone editor add mx record

cpanel zone editor add mx record

Enter the priority and destination into the corresponding boxes as shown below & click the blue “Add New Record” button.

cpanel zone editor mx record added

cPanel zone editor mx record added

After clicking the “Add New Record” button, you’ll then see the record added successfully.

cPanel zone editor mx record list

cPanel zone editor mx record list

The next step would be to remove the default record. As shown above, the default record in this tutorial would be for Priority 0 and Destination veerotechdemo.com – you would want to click “Remove” for your default record, located on the far right side. Click the blue “Delete” button to remove it.

cpanel zone editor remove default mx record

cPanel zone editor removes default mx record

The very last step is to ensure that the Mail Exchanger is set to “Remote”. Go back to the cPanel main page and search for the “Email Routing” Icon which is under the “Email” pane.

cPanel email panel

cPanel email panel

While the option selected is “Automatically Detect Configuration”, we recommend that you click “Remote Mail Exchanger” and then click Change.

cpanel remote mail exchanger

cPanel remote mail exchanger

That’s it! You’ve now configured your cPanel hosting account to route emails to your G Suite (Google Apps) account. We recommend allowing up to 48 hours for the DNS changes to fully propagate. You can also test by sending mail to your domain which should then go to your G Suite.

Note: You must have an active, valid email address for your Google Suite (Google Apps) account that is accepting mail.


If you have any web hosting questions please feel free to reach out to us. We're happy to help.
Shared Hosting | Reseller Hosting | Managed WordPress Hosting | Fully Managed VPS Hosting

Our Guiding Principles

  • Provide consistent, stable, and reliable web hosting services.
  • Ensure rapid ticket response and quick resolutions to issues.
  • Never saturate or over-provision servers to ensure stability and speed for our customers.
  • Use only high-quality enterprise-class hardware to ensure minimal downtime from hardware failures.
  • Provide clear pricing with no hidden fees or gotchas.
Subscribe to comment notifications
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
RaedRashad
RaedRashad
1 year ago

Thank you so much, this article is really helped me