Our documentation is getting an overhaul! We would like your input! Click here to take a look at the beta launch of our new documentation site! Only cPanel & WHM version 82 documentation exists on our beta at this time. 84 will be added to the new site soon! Leave your feedback here: https://go.cpanel.net/docsfeedback
ModSecurity - Version 82 Documentation - cPanel Documentation
Page tree
For cPanel & WHM version 82.

Skip to end of metadata
Go to start of metadata

(cPanel >> Home >> Security >> ModSecurity)



We strongly recommend that you enable ModSecurity™ for all of your domains. Only disable ModSecurity while you troubleshoot ModSecurity-related problems.

This interface allows you to enable or disable ModSecurity for your domains.


If you cannot access this interface from your cPanel account, ask your system administrator to perform the following steps in WHM:

  • Enable the mod_security2 option in the Apache Modules section of WHM's EasyApache 4 interface (WHM >> Home >> Software EasyApache 4).
  • Enable the ModSecurity Domain Manager feature in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).

Configure All Domains

To enable ModSecurity for all of your domains, click Enable.

To disable ModSecurity for all of your domains, click Disable. A confirmation message will appear. Click Disable All to disable ModSecurity.

Configure Individual Domains


You must enable ModSecurity under Configure All Domains before you can configure ModSecurity for individual domains.

To enable or disable ModSecurity for a specific domain, select On or Off.