How to Disable ModSecurity in cPanel
If you need to temporarily disable ModSecurity for troubleshooting or any other reason, follow the steps below:
Step 1: Log in to cPanel
- Begin by logging into your cPanel account.
Step 2: Access the ModSecurity Interface
- In the Security section of cPanel, click on ModSecurity.

Step 3: Disable ModSecurity for Specific Domains
- A list of your domains will be shown. Toggle the switch from On to Off for the domain(s) where you wish to disable ModSecurity.

Step 4: Disable ModSecurity for All Domains (Optional)
- To disable ModSecurity for all domains, click the Disable All button at the top of the page.
Step 5: Verify ModSecurity Status
- Check the status for each domain to ensure it shows as Off, confirming that ModSecurity has been disabled.
Was this article helpful?
YesNo