How to Disable ModSecurity in cPanel | A Step-by-Step Guide for

Learn how to disable ModSecurity in cPanel to troubleshoot issues and test functionalities on your website. ModSecurity is a web application firewall that enhances security, but temporarily disabling it can be necessary in certain situations. Follow this comprehensive guide to easily disable ModSecurity on your cPanel hosting.

Step 1: Log in to cPanel on

  1. Open your preferred web browser and navigate to’s cPanel login page.
  2. Enter your unique cPanel username and password to access your hosting control panel.

Step 2: Locate the ModSecurity Option

  1. Once logged in to cPanel, scroll down or use the search bar to find the “ModSecurity” option.
  2. Typically, you can find it within the “Security” or “Advanced” section.

Step 3: Disable ModSecurity for Your Website

  1. In the ModSecurity interface, you’ll find a list of domains associated with your cPanel account.
  2. Identify the specific domain for which you want to disable ModSecurity.
  3. Click on the toggle switch labeled “On” next to the domain to turn it “Off.” This action will disable ModSecurity for that particular domain.
  4. To disable ModSecurity for all domains hosted on, look for a global option like “Disable Global” and toggle it to the “Off” position.

Step 4: Save Your Changes

  1. After disabling ModSecurity for the desired domain(s), scroll to the bottom of the page.
  2. Locate the “Save” or “Apply” button and click on it to save your changes.

Step 5: Verify ModSecurity Status for

  1. To ensure successful ModSecurity disablement, visit your website.
  2. Perform the actions that were previously triggering ModSecurity rules to confirm if they now execute without any warnings or issues.
  3. If the problems are resolved or the actions no longer trigger any warnings, it indicates that ModSecurity has been disabled successfully.

Conclusion: This step-by-step guide empowers users to disable ModSecurity in cPanel effortlessly. By following the outlined instructions, you can troubleshoot issues and test functionalities on your website without interference. Remember to re-enable ModSecurity after completing your tasks to maintain optimal security. provides a user-friendly cPanel interface to manage ModSecurity and enhance your website’s performance and protection.

Powered by BetterDocs