InMotion Hosting Support Center

At times, such as resolving a WordPress admin lockdown caused by a brute force attack, you may need to whitelist an IP within Mod Security. Whitelisting your IP will allow any requests from that particular IP that would normally be blocked by Mod Security to instead be allowed. In this article, we will show you how to whitelist an IP in Mod Security using the Modsec Manager in cPanel.

This article only applies to our Business Hosting, and Reseller Hosting plans.

  1. Log into cPanel.

  2. Once within cPanel, click on the Modsec Manager icon.

  3. You will then be on the Modsec Manager page. To whitelist your current IP, simply copy the IP labeled Your current IP is: and paste it into the text box. Once it is entered, click on the Add button.

  4. The Modsec Manager will now alert you that your IP has been successfully added to the whitelist.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2018-05-23 1:46 pm

Everytime I whitelist an ip, I get the error Cannot restart apache. And the whitelisting does not seem to take effect for a long time - usually the next day it seems to be working. As I am traveling I need to whitelist new ips regularly and cannot wait a day each time. Can you help me understand why it doesn't work right away or at least within a few minutes? 

41,682 Points
2018-05-23 2:54 pm
If you are getting errors while whitelisting an IP, you will need to speak with our live technical support team. They have access to make immediate changes and can determine the cause of the problem.

n/a Points
2017-04-13 8:44 pm

I only see an option in cpanel to turn mod security on or off for each domain. I don't see modsec manager. Is that because I'm on a VPS or is there another reason?

And, if modsec manager isn't available does that mean using SSH?


2,858 Points
2017-04-14 10:17 am
Jonathan, the Modsec Manager is only provided on our shared hosting platforms, but the functionality is the same between that and the ModSecurity icon on your VPS.
n/a Points
2017-04-14 10:49 am

As I mentioned above, the only option in modsecurity seems to be to turn mod security on or off for each domain.

The instructions above talk about whitelisting an ip address. That doesn't seem to be possible, or what am I not seeing?


2,858 Points
2017-04-14 10:56 am
I'm sorry. I missed the whitelist option at the bottom of the page for the Modsec Manager. Unfortunately, this option is not available on VPS or dedicated servers. If you wanted to whitelist an IP you would need to make custom changes via the command line( SSH access ).
n/a Points
2016-09-08 9:37 am

They can only be entered one at a time? Cloudflare recommended that I whitelist all of their IP addresses, and sent me a list of ranges - well over 200 -


31,093 Points
2016-09-08 12:47 pm
Yes, the tool in cPanel only allows you to add one IP address at a time. I recommend submitting a ticket request to live support, asking to whitelist the IP's. They should be able to add them for you.

Thank you,

Post a Comment

Email Address:
Phone Number:

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

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