InMotion Hosting Support Center

Cloudflare is a third-party service which provides security and optimization for your websites on the internet. In order to use it with your hosting account, you would need to have an account with Cloudflare. Please make sure that your account is active and up-to-date before trying to attempt the following instructions for setting up Cloudflare with your InMotion Hosting website. The following tutorial will instruct you on setting up cloudFlare with your website.

Configuring Cloudflare with your InMotion Hosting Website

  1. Login to the Cloudflare interface.
  2. Select the WEBSITES option Navigate to the top of the page, then click on Websites.
  3. Select the website you wish to setup You should see your website listed on your account. Select the website you wish to edit, then click on Continue Setup at the bottom right of the window.
  4. Change the nameserversAs per the graphic at right, you will see the name servers that Cloudflare wants you to use. Take note of these name servers. You will need to use the Cloudflare name servers to update your nameserver settings in the Account Management Panel (AMP). If you did not register the domain with InMotion Hosting, then you would need to edit the name server settings with the domain registrar that is currently managing your domain. Once you have completed updating your name servers you will see a green button in the bottom right hand corner that says "I've updated my name servers, continue." Click on this button to continue.
  5. Completion messageYou will see a congratulatory message from Cloudflare at this point along with some recommendations. Make sure to review and follow their instructions. Your Cloudflare setup is complete at this point.
Remember that any DNS changes will incur some propagation time. This period of time before a DNS change takes place will normally occur within 24 hours.

Recommended Settings

Cloudflare provides many features and settings for its users. Below is a list of some of the recommended options that can be helpful for your website.


In order to enable end-to-end encryption, you will need to enable the Full SSL option in your Cloudflare SSL Settings. You will require SSL for your InMotion Hosting account, which we can help you install, and an SSL provided by Cloudflare. Make sure to contact Cloudflare support if you have trouble enabling SSL for your account.

DNS Settings

cPanel does not automatically update your DNS settings when you point your site to Cloudflare. This means you will need to make some DNS adjustments at Cloudflare. For example, if you want to have your email routed to InMotion Hosting, you will want to add some MX records to your Cloudflare setup.

  1. Log into your Cloudflare account
  2. Select your site from the dropdown menu
  3. Select DNS
Now you can copy the relevant records from your cPanel Zone Editor into Cloudflare.

Disabling Cloudflare

If you decide you don't want to use Cloudflare anymore, you can point your domain nameserver information back to InMotion Hosting. Or, if you only want to temporarily stop Cloudflare service, you can use the "Pause" feature.

  1. Log into your Cloudflare account
  2. Choose Overview under the Advanced section
  3. Click Pause

Now you should have a better understanding how to use your Cloudflare account. If you have any trouble with these options, you contact Cloudflare support to walk you through some of their features. For DNS options in your InMotion Hosting account, feel free to leave a question here or conact our Live Support team.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
What's the best CDN Service?
CloudFlare performance results - not worthwhile?
cPHulk Brute Force Protection - Slow Down Effects?
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2018-07-17 1:17 am

I have FREE SSL installed for my domain on INMOTIONHOSTING, When I add my site in Cloudflare it gives me below error when accessing site -




Please can you tell me how to resolve this?

11,043 Points
2018-07-17 10:54 am
This forum post may of help to you, considering that your mismatch may be a setting that can be fixed from within your Cloudflare account. If not, you may want to consider contacting our Live Support team for further guidance.
n/a Points
2017-10-28 2:38 am

my website is facing issues. when i turn the cloudflare to on and dns then my website is showing blank errors

13,821 Points
2017-10-30 7:49 am
Your site loads without issue for me. Are you still having issues? Have you reached out to cloudflare?
n/a Points
2017-10-13 3:40 pm

Hello. I installed Cloudflare SSL to my website (  Now my website appears with HTTPS. The domain is registered with godaddy. I changed the DNS info on go daddy. The hosting is on IMH.   I cannot login to my website cpanel anymore afer installing Cloudflare SSL.  What should I do to gain access to Cpanel again?  Thank you.    -10/13/2017

3,862 Points
2017-10-13 3:59 pm
I'm sorry to see you are having trouble logging into cPanel after changing the DNS to point to CloudFlare and InMotion Hosting. The resolution would depend on what the issue you are having is. Are you not able to load the cPanel page? If so, what link are you visiting to reach the cPanel login screen? Are you unable to log in due to username/password errors indicated upon submission of the login form?
n/a Points
2017-07-13 7:10 am

I am a new inmotion reseller and the domain I registered as my primary domain for the reseller account is currently using Cloudflare. Can these sytem work together? I am trying to install and setup WHMCS and enom on my primary domain any suggestions on how to accomplish this? Thanks

31,595 Points
2017-07-13 2:16 pm
Yes, as long as Cloudflare is setup correctly it should resolve to our servers without issue. Then, you can install WHMCS and eNom.

Thank you,
n/a Points
2017-02-17 11:50 am

I am in the midst of moving my sites to Inmotion Hosting from another host. My nameservers are pointing at the CloudFlare server but still getting my content from the old host. Am I right in thinking that CloudFare will pick up the Inmotion versions of my sites when and only when my previous hosting plan expires or is cancelled? Or do I have to do something?

2,858 Points
2017-02-17 12:14 pm
Mitch, you will need to <a href="">update your site's IP in your Cloudflare account</a> to match your <a href="">current account IP that you have with us</a>.
n/a Points
2016-05-24 4:45 pm


In my previous comment, I think the URL “” should’nt be made public. I might be wrong. Just in case. Thanks

11,043 Points
2016-05-24 6:52 pm
Hello Juan, you can protect these directories by turning off indexing in your cPanel.
n/a Points
2016-05-13 8:17 am

Let me see if I got this right. First I should sign with CloudFlare and have my domain scanned (which will extract my DNS records). I purchased my domain at Namecheap, and have the nameserver pointing at InMotion. Next I should replace InMotion’s ns with CloudFlare’s ns. Now my domain will be pointing at CloudFlare, right? And that’s it, not? Am I missing something? Sorry if this is a duplicate question

10,077 Points
2016-05-13 10:07 am
Hello Juan,

That should be it and it will point your domains main A record back to our servers. I would suggest doing this during a downtime of your usual traffic just in case the website goes down for a few.

Best Regards,
TJ Edens
n/a Points
2016-05-13 7:53 pm

Thanks so much, TJ. You made my day!

n/a Points
2016-05-24 11:36 am

Hi TJ. I added my site to CloudFlare, but when I write “” on the URL bar, it returns a “Error 404 - not found” message. They tell me that “the file does not exist on your web server in that location”. Do you or anybody have a clue of what this means and how can be fixed? My website is

11,043 Points
2016-05-24 2:37 pm
The message indicates the file is missing or does not exist. Following the directory path you mentioned shows that file is not present even on your normal (non-Cloudflare) URL. I suggest going through again to make sure you are looking in the correct location. It is possible that the file you are looking for is in a different location.
2015-10-17 8:59 pm
What changes if any would need to be made (if any) in terms of "email" MS records etc if I was to use CloudFare with InMotionHosting (shared hosting) based sites?
43,761 Points
2015-10-19 4:53 pm
You will need to make sure that any record that is to point to our servers are "A" records and point to your cPanel account IP. (MX records, mail, ftp, webmail, cpanel)

Kindest Regards,
Scott M
n/a Points
2018-11-25 2:28 am

Can you please be more specific.  Exactly what should my records look like on cloudflare.A (IP address from cPanel)

A            mail     

MX          mail     

CNAME    www    

and in cPanel:           A CNAME          MX  priority: 0

www                      CNAME


Is this correct ?Cloudflare warns me that: "An MX record was not found for your root domain..."and that I won't get mail without it.If not correct, can you specify exactly what needs to be added, removed, changed, and how?I have found several posts on InMotion, and also CloudFlare, but none give enough specific details, leaving something ambiguous in all cases. 

Thank You.

n/a Points
2018-11-25 2:38 am

Kindly be more specific here.  Exactly what should I see as entries in cloudflares DNS table?  Exactly what should I see in DNS for inmotion?  assume and IP 12.345.678.90

I need, which should redirect to, and I need mail. I am having a particularly difficult time determining exactly what to do for mail.  Thank You.

3,862 Points
2018-11-26 12:29 pm
The records in cPanel are irrelevant since you are pointed to CloudFlare. In order to use email with your domain you should create an MX record and an A record for

The MX record: should point to with a priority value: 0. You will also need to create an A record: that points to the cPanel IP address: 12.345.678.90. That should be all the necessary DNS for your domain to route email properly.

If you have additional MX records and/or A records for: you should remove them.

I hope this helps!
Carlos D.
n/a Points
2015-08-07 1:22 am

Hi there,Nice tutorial. One of my frined added his website on cloudflare, but it is making some error. Any professional advice how to resolve this problem.

31,595 Points
2015-08-07 12:04 pm
Hello Daniel,

Thank you for contacting us. We are happy to help, but will need the full error message to help narrow down the issue.

Also, please include any additional information to help us understand what the symptoms are.

Thank you,
2015-02-27 2:04 pm
Hello everyone,
I'm trying to setup Cloudflare DNS into my AMP, I'm receiving this error:
"There was a problem with processing your request. Ensure that the nameservers you are trying to set have been created. If they have not, you can go here to do so."
If I click on word "here" I receive this error :
"Oops...there was an error with your request" .... Any ideas? :) Thank you!! :)
2015-02-27 2:05 pm
I forgot to mention that I'm on a VPS Hosting :)
43,761 Points
2015-02-27 3:12 pm
Hello Korgzero,

Are you referring to setting up the name servers as within our custom name server article? The subdomains should also already have been created within your cPanel.

Kindest Regards,
Scott M
2015-02-27 3:39 pm
Hello Scott,
yes that link! If I click on "Create Custom Nameservers" I get "Oops...there was an error with your request" ..... And I can't insert my name servers :((
43,761 Points
2015-02-27 5:14 pm
Hello Korgzero,

I also tried to go through the motions of setting up custom name servers on my test account. When I first clicked on the "Create Custom Nameservers" I got the form. I filled it out with erroneous info and I got the error. However, when I click on the link at all I get the error. This would not have anything to do with you, so I will pass this error up to the dev team for them to investigate.

In the meantime, you can certainly have your custom name servers created. Simply send in the request to our Support team via email at Please be sure to verify the account with either the current AMP password or the last 4 digits of the current card on file. Don't put it here as it will be public.

Kindest Regards,
Scott M

2015-02-27 5:26 pm
Ok! Thank you so much! :)
n/a Points
2014-04-11 3:51 pm

If i change my DNS that mean i move to another hosting server so why i buy hosting space here in "inmotionhosting" it's useless. tell me if i wrong

42,946 Points
2014-04-11 4:04 pm
Hello Mostafa,

The guide above was written to help InMotion Hosting customers configure Cloudflare. If you're using a different host, then you'd need to change the name server settings per your host's interface.

Arnel C.
n/a Points
2014-04-11 5:09 pm

I already InMotion Hosting customer. but my openion when i change the DNS that mean i move to another hosting server

42,946 Points
2014-04-11 5:24 pm

Not necessarily. In some cases, people have development sites that are hosted elsewhere. Additionally, it's possible to register multiple domains and host them elsewhere while maintaining domain registration with InMotion. In case this though, Cloudflare is a DNS and caching filtering service that provides security and performance gains because website traffic hits their servers instead of directly going to InMotion's servers. The websites would still exist and be hosted on InMotion's servers. If you want an overview on how Cloudflare works, please go here.

Arnel C.
11,186 Points
2014-03-11 7:54 am
This would not be possible on shared hosting, but if you are on a VPS or dedicated server, you may submit a ticket to technical support requesting it.
n/a Points
2017-05-19 3:20 pm

Hi. Not sure if your 2014 reply that mod_cloudflare is not supported on shared servers still applies today, but if it does, I'm curious if there is any downsides to activating it for all shared customers on the Apache server? Trying to think of what webmaster would actually prefer to see Cloudflare IP addresses show up in server logs instead of real IP addresses. 

2,858 Points
2017-05-19 3:44 pm
mod_cloudflare is still not enabled on our shared hosting accounts. Our Systems Administration team periodically reviews options for adding, or improving the services we offer, and at this time they have decided that leaving mod_cloudflare out of our shared servers is in line with our service goals.
n/a Points
2014-03-10 3:31 pm

Cloudflaire "strongly recommends" installing mod_cloudflare via command line or the cPanel plugin. I'm not comfortable doing this, for fear that I might mess something up. Is there any way to get help/support for this?

11,186 Points
2013-12-05 8:40 am
Hello Abhijit_Guha_007,

The A record is the IP on your account. To locate it, you may follow this article:

How to find your Shared IP address of your server in cPanel
2013-12-05 4:47 am
Hi I want to use Cloudflare CDN with my website. But after I have adding my website cloudflare asking my to enter "A" value, I don't know what to enter there.

Can you please help me with it ?

Here is a screenshot of that page :

Post a Comment

Email Address:
Phone Number:

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

42 Questions & Comments

Post a comment

Back to first comment | top

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:
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!