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 http://google.com/a 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.
- Log into cPanel
- Click the “File Manager” icon
- Click the “Go” button
- Click the “New File” icon in the top left corner
- Enter googlehostedservice.html as the file name and click the “Create New File” button
- Tick the box next to the file name
- Click the edit button
- Paste the code into the file
- 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 http://mail.google.com/a/example.com and replace example with your domain.