How to change the status of ModSecurity in cPanel

ModSecurity is a web application firewall (WAF) that can be used to protect your website from several types of attacks. It is a powerful tool that can be used to block malicious requests and protect your website from common vulnerabilities such as SQL injection and cross-site scripting (XSS). In cPanel, you can change the status of ModSecurity to either enable or disable it.

Here's a step-by-step guide on how to change the status of ModSecurity in cPanel:

Step 1: Log in to cPanel

The first step is to log in to your cPanel account. If you are not sure how to log in, contact us for assistance.

Step 2: Navigate to the Security section

Once you are logged in, navigate to the "Security" section of cPanel.

Step 3: Find the ModSecurity Manager

In the Security section, you will find the "ModSecurity Manager" option. Click on it to access the management interface.

Step 4: Select the domain

In the ModSecurity Manager, you will be prompted to select the domain that you want to change the status of ModSecurity.

Step 5: Turn on or Off the ModSecurity

Once you have selected the domain, you will be able to turn on or off the ModSecurity . Just click on the button "On" or "Off" to change the status of ModSecurity .

Step 6: Save the changes

After turning on or off the ModSecurity , click on the "Save" button to save the changes.

It's important to note that ModSecurity can cause some false positives, and it can block some legitimate requests, so it's important to test your website after changing the status of modsecurity to ensure that everything is working as expected. In some cases, if you find that modsecurity is blocking some legitimate requests, you can whitelist the requests by creating a custom rule.

In conclusion, ModSecurity is a powerful tool that can be used to protect your website from several types of attacks. By changing the status of ModSecurity in cPanel, you can enable or disable it to suit your needs. Remember to always test your website after changing the status of ModSecurity to ensure that everything is working as expected.

 
  • cPanel, ModSecurity
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Cannot add email account as it already exist

On rare occasions there may be a time when adding or removing accounts cannot quite finish the...

How to create a new email address in cPanel

Creating an email address using cPanel is a straightforward process that can be done...

Creating an email forwarder in cPanel

Creating an email forwarder in cPanel is a straightforward process that can be done...

Creating email filters in cPanel

Spam filters are an essential tool for keeping your inbox free from unwanted...

How to restore a backup using Jet Backup in cPanel

Restoring a backup in Jet Backup 5 in cPanel is a straightforward process that can be...