Tag Archives: mx records

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 (formerly G Suite). Please note, you must have an active Google Workspace (G Suite) subscription in order for your mail to function properly.

Google MX Records

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. Repeat this for all of the records and save them.
  6. Click the Email Routing icon in the cPanel
  7. Select “Remote Mail Exchanger” and click change.

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 into 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 the 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: https://support.google.com/a/answer/33915?hl=en

We’ve also provided them below:

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 similar to the one shown below. You want to repeat this process for all of the Google MX records provided.

cpanel zone editor mx record list

cpanel zone editor mx record list

Once you have added all of the Google MX records, your MX Records should look similar to the one shown below.

cpanel zone editor google mx records full list

cpanel zone editor google mx records full 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 remove 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 “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.