Find AnswersFast in Our Knowledgebase

Explore step-by-step guides, tutorials, and expert tips to help you get the most out of your hosting experience. Whether you're setting up a domain, managing WordPress, or troubleshooting, our Knowledgebase has you covered 24/7.

cta

How to Enable or Disable Mod Security in cPanel


Are you facing the issue of IP getting blocked repeatedly? If the answer is Yes, then it may have happened due to Mod Security.


What is Mod Security?
ModSecurity is a module that protects your website from various types of attacks. Mod Security protects a website from hackers, brute force attacks, cross-site request forgery(CSRF), and many other threats. Although it sometimes creates a problem, we do not recommend you to disable it but instead fix your software's vulnerability.


Disabling ModSecurity can help you determine whether ModSecurity blocks your IP or not. However, if your IP is blocked for a different reason, then contact us. We will find the exact reason behind it in order to resolve your issue so that you will not be required to disable the module.


How to Enable or Disable Mod Security in cPanel?
1. Log in to your cPanel account.


2. In the Security section, click on ModSecurity.
mod-security-icon.gif

3. If ModSecurity is enabled, it shows the Disable option. Click it to disable ModSecurity on all domains. The next time you want to enable it, click on Enable to enable it on all domains.
disable-modsecurity-in-cpanel.gif


How to disable ModSecurity only on selected domains?
You may have multiple domains, and you would want to disable or enable ModSecurity on selected domains.

1. Log in to cPanel, and from the Security section, click on ModSecurity.


2. Scroll down to the bottom of the page.


3. Under the Status option, next to the domain, click on On or Off.

modsecurity-disable-selected-domain-cpanel.gif


Was this answer helpful?

« Back

Explore Latest News

Explore product announcements, hosting tips, security news, and digital trends to help you grow your online presence. Whether you're a developer, business owner, or startup, our blog keeps you ahead of the curve.

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

Our Partners

Our partners play a vital role in powering our services and supporting our mission to deliver secure, high-performance hosting worldwide.

cloudlinux
bitninja
cpanel
litespeed
softaculous