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 walk you through the setup for Cloudflare.

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.

Support Center Login

Social Media Login

Social Login Joomla

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
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 :
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
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
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,679 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-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

37,711 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

37,711 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.
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,611 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,611 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
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.

28,243 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-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,611 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
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

8,146 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.
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

8,146 Points
2016-05-24 6:52 pm
Hello Juan, you can protect these directories by turning off indexing in your cPanel.
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,679 Points
2017-02-17 12:14 pm

Post a Comment

Email Address:
Phone Number:

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

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