How to Use Google Apps to Host Your Mail

In your Dedicated Hosting plan you have plenty of room to host many email accounts, but if you have a Google Apps account for your home or business, you can continue using your Google mail hosting services with a few modifications in your cPanel. Note: In order to use Google Apps services, you must have an active Google Apps account set up with Google.

Using the Zone Editor tool in the cPanel, as we will cover in this article, you can point the mail traffic for your domain to Google and use your InMotion Hosting dedicated server for your other web hosting needs.

How to Point MX Records to Google

In order to point your domain to Google, you will need to log into cPanel and add these Google MX Records (below) to your domain:

PriorityMail Server
1ASPMX.L.GOOGLE.COM
5ALT1.ASPMX.L.GOOGLE.COM
5ALT2.ASPMX.L.GOOGLE.COM
10ALT3.ASPMX.L.GOOGLE.COM
10ALT4.ASPMX.L.GOOGLE.COM

Follow the steps below to add these records:

  1. login to cPanel

    Log into cPanel

  2. Choose zone editor

    Under Domains choose Zone Editor

  3. Find the domain

    Find the domain for which you are changing the mail server settings

  4. Add a new MX record

    Click on +MX Record

  5. fill in the MX record

    Fill in the priority number and mail server hostname for the first entry above from Google

  6. Click on add MX record

    Click on the Add MX Record button

  7. Repeat steps 2-6 for the next four records
  8. Click on Manage in the Zone Editor's main screen

    After you have added all of the Google MX records go back to the Zone Editor’s main page and click on Manage. You will see the DNS records for your domain.

  9. Click on MX in the filter section

    Click on MX to filter out just the MX records.

  10. delete the default MX record

    You can now delete the default MX record that was configured originally. It is typically set to priority 0 and uses your domain name.

How to change your Server mail routing

Your mail routing can be set to local or to remote. This means that if you’re using InMotion Hosting mail servers, then it would be set to local. If you are using a third party service like Google, then it would be set to remote because the email servers are not in the same location as your hosting service. Follow the steps below in order to appropriately set your mail routing.

  1. Login to cPanel

    Log into cPanel

  2. Select Email Routing

    Under the Email section choose Email Routing

  3. Change to Remote Mail Exchanger

    Change the Email Routing to Remote Mail Exchanger

  4. Save your change

    Click on the Change button in order to save your setting.

Well done! You now know how to point your MX record to use Google Apps mail services. If you’re also using Workspace, please see this guide on setting up Google Workspace MX records in cPanel.

Did you know that we also offer shared web hosting packages that comes with additional benefits to help business owners successfully manage their online presences? Contact us today to learn more.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

6 thoughts on “How to Use Google Apps to Host Your Mail

  1. Hi there, thanks for this.. however, I get the following message: Error: The following DNS file is invalid. (Line 10: NS record ……appears to be an address; Line 11: NS record ….. appears to be an address) . Please advise what can be done. Thanks again.

    1. Once you set your MX Records, it will let the world know which server to deliver mail to. If you have multiple servers entered, messages may get delivered to either server so it would be difficult to keep track of. A possible workaround is to host email with InMotion and use Gmail as a mail client for checking the mail that are with InMotion.

  2. What happens to the emails currently hosted by inmotion after the host change to goodle servers? Do the emails stay stored on the server and the account just wont receive new emails? If we decide to change back to inmotion for email hosting, will those accounts still exist?

    Thanks

    1. The email messages will remain on the IMH server, unless you remove/delete the email accounts from the server. However, the IMH server will no longer receive emails once Google servers begin handling email for the domain. If you decide to switch back to IMH servers for handling your email, the accounts will remain (as long as you haven’t deleted them) with only the email messages sent/received while the domain was pointed to IMH servers for email. Your email messages sent/received while the domain was pointed to Google’s servers, will not be present on the IMH servers though. I hope this helps!

Was this article helpful? Join the conversation!