Discussions on this article:

In this tutorial:

You are free to use a different mail server but still host your website with InMotion Hosting. This can be accomplished through changing your MX records. Making changes to your MX records will still allow you to host your website with us, but you email at a third party server such as Google.

How do MX records work?

MX (Mail Exchanger) records are a type of DNS record that determine which mail server is responsible for handling your email. The MX record is set to point to a canonical hostname, such as example.com or mail.example.com. This hostname is another record known as an A (address) record, which points to an IP address. That IP address is the server that will be handling the email for your domain.

You may notice there can be multiple MX records. These are set into a chronological priority order, where the lowest number gets priority. Incoming email checks for the server set for the lowest priority first. If that server does not respond, it goes to the next on the list, and so on. Companies that service large email server farms, such as Google, will have several servers to handle massive amounts of incoming emails.

How do I view my current mx records?

If you want to check your current MX records for reveiw or troubleshooting, you may view them via our Visual Dig tool. This tool displays your MX records and how they point in a graphical view. You can find a link to that tool below.

Where is my domain name routing?

Hosting your email with InMotion Hosting

Setting your MX records to work with your InMotion hosting server is very simple. Use the example below as a template for your settings. Simply replace the example.com domain with your actual domain name. Note that you will only need a single MX record.

PriorityMail Server
0 mail.example.com

Obtaining Third Party MX Records

The first step in routing your mail to a third party is the obtain the MX records that party wants you to use. In this example, we'll use Google. Google would provide you with a list of MX records to enter in. This must be entered correctly for the email to function properly:

Note! In order for you to use Google APPs MX records with Google, you will need to get a Google APPs account. Please visit this link to get a Google APPs account.

For shared server customers, you now have the ability to use the Google Apps Wizard to set your records.

PriorityMail Server

The MX records above are an example of the MX records you would need to use to set up Google Apps.

Changing your Domain's MX Record

  1. The first step is to log into your cPanel account.
  2. click  MX entry in cpanelOnce logged into cPanel, find the icon "Mx Entry" in the Mail section:

    Important! If you still need to receive your email on our server while the Google MX records are propagating, DO NOT remove the original MX record. Update the original MX record to priority 100 to prevent email from bouncing, instead of removing the 0 priority MX record. Once the Google MX records are propagated, you can then remove the original MX record.

  3. Add a new recordIf you want to remove the existing records, click on the delete link next to each record. In this example, We will use the same records as above, as if we were going to use Google Apps.
  4. Add a new recordOnce you have entered in the record correctly, simply click "Add New Record" and now you can verify the record was created correctly. Follow this same process for each record you need to create.

Please check the next article on Creating an Autoresponder in cPanel. If you missed our previous article, please see the How to log into Webmail tutorial. For more information on this course please visit Using Email.

Continued Education in Course 201: Using Email
You are viewing Section 3: Modifying your MX records
Section 2: How to log into Webmail
Section 4: Creating an Autoresponder in cPanel
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

n/a Points
2014-06-10 8:00 pm

This doesn't help. Why do I have to add a comment to the article after I already submitted feedback.


This is what I want to do:

Login to Gmail>Settings>Accounts and Import>Add a POP3 mail account I own

Then follow their succession of overly complicated popup windows so that I receive and send my InMotion email through my Gmail account. They have too many options and settings, I need the information for InMotion.


Bluehost has a video tutorial.


It works with Bluehost, but doesn't seem to be working for InMotion. I need a tutorial for InMotion.



21,370 Points
2014-06-10 9:26 pm
Hello Nathan,

Sorry for the frustrations. First of all, the comments allow for us to respond to your question on the article. Otherwise, you need to submit a question. Article feedback is simply asking simple questions about the article's usefulness.

Secondly, you are trying to use Gmail as an email client. This is very simple, but you're using the WRONG email settings. Here's how you can find the correct email settings:

How to find your email settings

Once you have the correct settings you can go through the same process in Gmail to set it up. The only difference is that you'll be using the email settings as provided in the article I linked above.

Whenever you're asked for the user, it will be the FULL email address like this: someone@example.com.

In terms of the settings, you will be using SSL for the Outgoing - this means that the email server URL should look like this secure##.inmotionhosting.com (replace "##" with the server number for your server).

I'll make a video for this issue as well. When it's complete I'll post it as a response to this comment.

Arnel C.

Question: What if I change / delete my MX records?

n/a Points
2014-06-30 11:02 pm

what happens to emails if mx records are inadvertantly changed or deleted and then restored?

5,399 Points
2014-07-01 6:56 am
Hi Joe, emails sent to you will be routed to where the MX records are set.

Deleting MX records
If you deleted your MX records, email servers would not know where to deliver your email, so most likely you would have missed email sent to you in the time frame in question.

Changing MX records
If you changed your MX records, then email would have been routed to the email servers that you setup in your MX records.
n/a Points
2014-10-24 9:59 pm

I deleted mx records, later restore this

PriorityMail Server 0 mail."mydomain".com


but not works: i can send mail, however don't receive. I need orientation, please. Thanks



13,552 Points
2014-10-27 6:00 am
Hello Pepe,

Thank you for your question. First, make sure you allowed the mx entry to propagate after making changes. It can take up to 24 hours to complete.

Next, make sure your settings are correct, you can view your email settings in cPanel at any time.

Thank you,
n/a Points
2014-08-09 1:30 am

Thank for providing excellent video "InMotionHosting- How to edit your DNS"

With your great instances on FTP Hosting Services, I excellently take help for Hosting my email with InMotion Hosting.

n/a Points
2014-09-19 7:35 pm


When I change my DNS settings, my email stopped working.

I'm just wondering if changing DNS Settings affects my Mail settings making it not work in the process.


21,370 Points
2014-09-19 7:39 pm
Hello Kristalyn,

Thanks for the question and sorry about your email issue. The short answer is yes, it is possible that your DNS change may have affected your email. It just depends on what you've done. If you can provide us some information on your account (if you're with InMotion), then we can look and see what's happening and make suggestions as to what should be done to correct the issue.

Kindest regards,
Arnel C.
n/a Points
2014-10-08 3:00 pm

i've al ready changed my MX records to google apps but doesn't update! Please help me! my domain is miboda.com.mx

21,370 Points
2014-10-08 3:59 pm
Hello Gustavo,

Sorry for the problem with the emails! The problem has to do with your name servers. Since you have root access, you have custom name servers. You will need to go to your domain registrar and activate your name servers. Follow the instructions in our tutorial Using Custom Name Servers under the section labeled "Activating your Custom Name Servers".

Be aware that there may be some DNS propagation associated with the process.

I hope that helps to resolve your problem! Please let us know if you have any further questions or comments.

Arnel C.
n/a Points
2014-11-17 5:34 pm


Max code has been deleted by mistakes of the inside of PANEL c

And you have to link the e-mail with Hotmail and currently cheek and Windows Live Domain become unused

Is there a way to Atstaadeh same old code ??

Thank you all.,


23,972 Points
2014-11-17 6:26 pm
Hello Alyaa,

I'm not quite sure what your exact question is, but I will do my best. If you are asking if there is a way to recover your MX records that were accidentally deleted from the cPanel, the answer is no. The cPanel does not keep archives of the records. You will need to re-enter them in the MX Entry tool from within the cPanel.

Kindest Regards,
Scott M
n/a Points
2014-12-19 11:24 am

Hello  Scott

Many thanks for your responseYou may link the official mail to run on Hotmail  It was the extraction code and put it into the C PNIL   Code has been deleted unintentionally .. service and Windows Live Domain will not work anymore   How can I get Max  CODE  Again ??

13,552 Points
2014-12-19 11:41 am
Hello Alyaa,

Thank you for contacting us. If you deleted your files unintentionally, you may have to restore your files from a backup.

I could not locate an account an account for you on our servers, to check if backups are available.

I'm not sure what you mean about getting the "Max Code," but we are happy to help if you can provide more details.

Thank you,
n/a Points
2014-12-12 11:40 am

can i add same mx record for two different domains

13,552 Points
2014-12-12 12:45 pm
Helo db,

Thank you for your question. Yes, you can use the same MX record for 2 different domains.

This will be the case if your email is hosted on the same server.

Thank you,
n/a Points
2014-12-18 1:48 am

We are trying to use a web based client (yahoo or gmail) to access our email but it is not working. Also, our domain.com/webmail is not working as well. Our set up may be a little complicated. We have our website hosted at Wix, our URL hosted at Name.com and our email is hosted here at inmotion. HELP! How do we get our email to work?

21,370 Points
2014-12-18 2:48 am
Hello Janeve,

Thanks for the question! It does sound a little complicated, but luckily, there is more than one way to reach your email. You can use the SSL settings for the setup in Yahoo or Gmail in order to get to your email. You can learn how to find these settings by going to How to Find Your Email Settings. We also have a tutorial for setting up email on Gmail. I hope this helps to clear up the issue for you.

If you have any further questions, please let us know.

Arnel C.
n/a Points
2015-01-11 3:54 pm

Having a google base mail account with my domain. I like to shift my site to another hosting. After shifting I will change MX entry in new cpanel. In while for how long my emails will be effected. Pleaes guide

23,972 Points
2015-01-12 11:33 am
Hello Mukesh,

When changing MX records, the turnaround time can be from 4-24 hours. Within that timeframe you want to be sure you can check both servers for any emails that may come through.

Kindest Regards,
Scott M
n/a Points
2015-03-20 3:55 pm


I created a new email address on my InMotionHosting domain name and I was testing its ability to send and receive. 

InMotion Address: ypg@bhghbaltimore.org

Testing Address: [MY PERSONAL ADDRESS, rcarroll321@gmail.com]

1. InMotion address is able to SEND to the test address

2. InMotion address is not able to RECEIVE messages from the test address. 

The test address receives the following error message:

This is an automatically generated Delivery Status NotificationTHIS IS A WARNING MESSAGE ONLY.YOU DO NOT NEED TO RESEND YOUR MESSAGE.Delivery to the following recipient has been delayed:     ypg@bhghbaltimore.orgMessage will be retried for 2 more day(s)Technical details of temporary failure:The recipient server did not accept our requests to connect. Learn more at http://support.google.com/mail/bin/answer.py?answer=7720[(0) bhghbaltimore.org. []:25: socket error]


23,972 Points
2015-03-23 5:14 pm
Hello Ryan,

I checked the public records for the domain and it is not pointing to our servers. This means that it will not be able to receive email as it is attempting to deliver to its current public server. You can always send from a server no matter where the domain is pointed so there is not an issue here. Once you point the domain name to our name servers it will then be able to receive.

Kindest Regards,
Scott M
n/a Points
2015-03-23 10:47 am

l have changed my password but cant log in with the new password for my email

23,972 Points
2015-03-23 5:19 pm
Are you getting any specific error messages when trying to log in?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!