Connecting cPanel to GMail

GMail kicks the cPanel mail apps butt. So I always recommend that clients to use the free Google Apps to manage their email. This is a big bonus for clients as they get to use the simple GMail interface with their own domain.

The big benefits to using GMail is the:

  • 7GB storage per a user,
  • ability to access multiple email accounts from one GMail,
  • easy to configure your iPhone to access it,
  • looks really nice,
  • plays nice with mail clients such as Apple Mail, and
  • it is a lot easier for users to use.

This guide assumes you are the administrator for the domain, email and cPanel.

What we will be doing:
1. Sign up for Google Apps
2. Configure cPanel for GMail

Setting Up Google

First navigate to and on the right hand side under Editions click the “Standard” link.

In the next screen Google will try to sell you the Premier Edition on the right hand side click the big blue button “Get Started”.

In the next screen select “Administrator”, enter your domain and click the “Get Started” button.

You need to fill in your basic contact details, once finished click the “Continue” button.

Fill in the admin details, read the Terms and Conditions, and click “I accept, Continue with set up”

Select “Upload an HTML file…” option and click “Continue”.

Now you have to create a new file in cPanel called googlehostedservice.html with the content of the code provided.

  1. Log into cPanel
  2. Click the “File Manager” icon
  3. Click the “Go” button
  4. Click the “New File” icon in the top left corner
  5. Enter googlehostedservice.html as the file name and click the “Create New File” button
  6. Tick the box next to the file name
  7. Click the edit button
  8. Paste the code into the file
  9. Click the “Save Changes” button

Now the file is created you can complete the Google setup. Click the “I’ve completed the Steps Above” button.

Click the “Skip this Guide” link

Navigate back to cPanel home screen and click the “MX Entry” icon

Select “Remote Mail Exchanger” and click the “Change” button

Paste “ASPMX.L.GOOGLE.COM” into the “Destination” field under the “Add New Record” section and click the “Add New Record” button.

Under “MX Records” click the “Delete” link next to the old MX Record

Click the “Delete” button

A bonus you can setup a subdomain “mail” and redirect it to and replace example with your domain.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s