How to enable or disable Mod Security in cPanel Print

  • 0

If you're having your IP getting blocked repeatedly, then this may happen due to Mod Security.


What is Mod Security?
ModSecurity is a module that protects your website from various types of attacks. This protects a website from hackers, brute force attacks, cross-site request forgery(CSRF), and many other threats. Although sometimes it can create problems, we don't recommend disabling it. You should instead fix your software's vulnerability.


Disabling Mod Security can help you determine whether Mod Security blocks your IP or not.

However, if your IP is blocked for a different reason, then reach out to us. We will make sure we find the exact reason and resolve your issue, so that you won't be required to disable the module.


How to Enable or Disable Mod Security in cPanel?

1. Log in to your cPanel Account.


2. In the Security section, click on ModSecurity.



3. If ModSecurity is enabled, it shows the Disable option.

Click it to disable ModSecurity on all domains.

The next time you want to enable it, click on Enable to enable it on all domains.




How to disable ModSecurity only on selected domains?

If you have multiple domains, you may want to disable or enable ModSecurity on selected domains.

1. Log in to cPanel, and from the Security section, click on ModSecurity.


2. Scroll down to the bottom of the page.


3. Under the Status option, next to the domain, click on On or Off.


 

And that's how you can enable or disable this module. 

 


Was this answer helpful?

« Back