Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  cPanel  >  How to Disable ModSecurity in cPanel?
Top Scroll

How to Disable ModSecurity in cPanel?

 2 min

ModSecurity or Modsec is an open-source web application firewall. It is a software tool for the Apache HTTP Server that protects your site from brute force attacks. It is set to automatically run on all new accounts by default.

However, there are times when you have to deactivate ModSecurity temporarily to resolve an issue.

To Disable ModSecurity in cPanel

1. Log in to your cPanel account.

2. Click the ModSecurity option in the Security section.

You can see the list of the domains under your cPanel account.

3. To switch/disable the ModSecurity of a domain, click the Off switch under its Status.

4. Sort out and fix the issue you have.

5. Right after that, enable the ModSecurity by clicking the On switch for the domain.

Warning: Immediately switch On the ModSecurity of the domain after you troubleshoot the issue. If you don’t,  it may cause serious security concerns. Never leave the ModSecurity disabled for long.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.