Real-time Setup: Fully automated domain and web hosting services.

Now Hosting Over 50,000 Domain Names!        

Accredited in Kenya, Rwanda, Nigeria & South Africa.

Kenya's Largest Domain Registar - 2021 KeNIC Report


0722 209 414 | 0733 367 596
info@kenyawebexperts.co.ke

 
 
 

Knowledgebase

Portal Home > Knowledgebase > Security > How to Enable or Disable Mod Security in cPanel

How to Enable or Disable Mod Security in cPanel Print

  • 0

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.


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.



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.



Was this answer helpful?

« Back

Our official partners

The Best Web Hosting Company in Nairobi, Kenya.

Kenya Website Experts Ltd is the Largest Web Hosting Company in Kenya, our core focus is helping and empowering businesses & organizations online. Thousands of customers rely on our domains and web hosting to get their ideas online. We offer everything you need to create an effective & successful online presence backed by expert, personalized customer support. We offer ultra fast, reliable, affordable and secure website hosting services, email hosting, cloud hosting and SSL certificates. We make registration of Kenyan domain names (.co.ke, .or.ke .ac.ke) and international domains (.com, .org, .net) fast, simple, and secure. Our expert team is always on hand to help answer your questions, get you started, and grow your presence online. We deliver on performance, security, reliability and customer service day in, day out, and we’re a trusted partner.

 

Get everything you need for Online Prosperity.