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.

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:
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
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 - https://www.cloudflare.com/ips/

 

Staff
29,747 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,
John-Paul
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?

Thanks.

Staff
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?

Thanks!

Staff
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 ).

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

6 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

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!