How to Enable ModSecurity in cPanel
ModSecurity is a powerful web application firewall that helps protect your website from various online threats. Follow the steps below to enable ModSecurity in cPanel:
Step 1: Log in to cPanel
- Begin by logging into your cPanel account.
Step 2: Access the ModSecurity Interface
- In the Security section, click on ModSecurity.

Step 3: Enable ModSecurity for Your Domains
- A list of your domains will appear. If ModSecurity is disabled for any domain, toggle the Off switch to On for that domain.

Step 4: Enable ModSecurity for All Domains (Optional)
- To enable ModSecurity for all domains at once, click the Enable All button at the top of the page.

Step 5: Verify ModSecurity Status
- After enabling, ensure that the status for each domain is marked as On. This confirms that ModSecurity is now active and protecting your site.
Was this article helpful?
YesNo