Submit a Ticket
Support Center » Knowledgebase » Tutorials: Step-by-Step Help » How to configure Google MX records?

How to configure Google MX records?

In order to use Google for your email service with any of your domains that are registered through us (are using our DNS servers), we are providing you with instructions on what changes need to take place based on your control panel.

cPanel Control Panel (All Linux Shared, Linux Reseller Packages)

1. Login to your cPanel control panel

2. Navigate to your Mail section and then -> Mx entry

3. Remove all existing MX entries

4. You have to set the following MX records for Google apps:

Priority / Server

1 / aspmx.l.google.com.

5 / alt1.aspmx.l.google.com.

5 / alt2.aspmx.l.google.com.

10 / aspmx2.googlemail.com.

10 / aspmx3.googlemail.com.

10 / aspmx4.googlemail.com.

10 / aspmx5.googlemail.com.


5. Last step required is for you to set the following CNAME Record from the cPanel - Advanced DNS Zone editor:

Type: CNAME

Name: mail

TTL: 3600

CNAME: ghs.googlehosted.com.



WebSitePanel
(Available with all of our Windows Shared, Windows Shared Reseller packages)

1. Login to your WebSitePanel

2. Select Domains -> The exact domain that you want to set MX -> Edit DNS

zone records (at the right side of your screen)


3.You have to set the following records for Google apps:


CNAME Record Name / Record Data :


webmail / ghs.googlehosted.com.


MX Records Priority / Server

1 / aspmx.l.google.com.

5 / alt1.aspmx.l.google.com.

5 / alt2.aspmx.l.google.com.

10 / aspmx2.googlemail.com.

10 / aspmx3.googlemail.com.

10 / aspmx4.googlemail.com.

10 / aspmx5.googlemail.com.



Plesk Control Panel:

1. Log in to your Plesk Control Panel.

2. Go to Home-> Domains-> The exact domain that you want to add mx records->DNS Settings


3. Remove all records that has something to do with mail.There select following 3 records mail.domain.com A records, webmail.domain.com A/CNAME records & domain.com MX records and


Click on Remove.


It will ask for the confirmation select the confirmation box (Click OK)


4. Click on add records.


Record Type : CNAME


Enter domain name : mail


Enter a canonical name : ghs.google.com (Click OK)



5. Click again on Add Record


Record Type: MX

Enter domain name : leave it blank

Enter mail exchanger :

Host Record Type Value

yourdomainname.com. MX (10) ASPMX.L.GOOGLE.COM.

yourdomainname.com. MX (20) ALT1.ASPMX.L.GOOGLE.COM.

yourdomainname.com. MX (20) ALT2.ASPMX.L.GOOGLE.COM.

yourdomainname.com. MX (30) ASPMX2.GOOGLEMAIL.COM.

yourdomainname.com. MX (30) ASPMX3.GOOGLEMAIL.COM.

yourdomainname.com. MX (30) ASPMX4.GOOGLEMAIL.COM.

yourdomainname.com. MX (30) ASPMX5.GOOGLEMAIL.COM. (click OK)



8. You will need to repeat the above step to create additional MX records for redundancy.



You can use the above mail exchanger values and set the priority for each one:


9. After adding MX records Disable the current mail service in Plesk. you can do it with below steps:


domain > Mail Accounts > Mail settings/Mail preferences


uncheck the box ” Activate mail service on domain” and set webmail “none”.

 This answer was helpful  This answer was not helpful
 Back