How to Disable Mod Security in cPanel

What is ModSecurity? 

ModSecurity is a web application firewall (WAF) that protects on web application layer that is being the most target for a website. It provides protection over the webserver by looks for known malicious request as well as monitor outbound data and block information such as leakage of detailed error messages,social security number or even credit card numbers.


However, in the course of development user may encounter situation like a 404- Page Not Found error OR Internal Server Error in which user must disable ModSecurity in order to allow the content to be updated. 


Do follow along with the steps below to see how user may disable ModSecurity for individual domains OR all domains on user cPanel hosting.


For individual domain:


Step 1: Login into cPanel:[YOURDOMAIN.COM/cpanel]



Step 2: Under security, select ModSecurity.



Step 3: Look for user exact domain and select Off. (For all domains, ModSecurity is On by default)






For all domains hosted inside the hosting account



Step 1: Login into cPanel:[YOURDOMAIN.COM/cpanel]


Step 2: Under security, select ModSecurity


Step 3: Under Configure All Domains, click Disable.





Note: If user still facing error upon ModSecurity disabled, do submit case to our support department so that we are able to check and advise further.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.