Knowledgebase Categories Backup/Restore 4 Broadband Internet 1 cPanel - Control Panel 24 Databases 11 Dedicated Servers 3 DNS - Nameserver 6 Domain 2 Domain Management 10 Domain Transfer 1 Email 13 FTP 4 Installing a Control Panel 6 Mail Filters & SPAM 8 Mobile 11 New Microwave Upgrade 1 Others 3 Security 10 Softaculous 71 Web Hosting 1 Wordpress 17 Categories Backup/Restore (4) Broadband Internet (1) cPanel - Control Panel (24) Databases (11) Dedicated Servers (3) DNS - Nameserver (6) Domain (2) Domain Management (10) Domain Transfer (1) Email (13) FTP (4) Installing a Control Panel (6) Mail Filters & SPAM (8) Mobile (11) New Microwave Upgrade (1) Others (3) Security (10) Softaculous (71) Web Hosting (1) Wordpress (17) How to Enable or Disable Mod Security in cPanel? Is your IP frequently blocked when you access a wordpress admin area or any type of script with a web browser? Are you left with the feeling that your IP is blocked or that the server is down or isn"t working?If the answer is "Yes", then it may have happened as a result of Mod Security.What is Mod Security?ModSecurity is a module which protects your website from various types of attacks. Mod Security protects our website from hackers, attacks, a brute force attack, a 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 vulnerability. The reason for this is that ModSecurity only blocks your website if your software security is bad.Disabling ModSecurity can help you determine whether your IP or your client/visitor"s IP is blocked by ModSecurity. If it isn"t the case, however, it means that your IP is blocked for a different reason. However, if you are sure that ModSecurity is the reason your IP is blocked, then contact us and 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 into your cPanel account.2. In the "Security" section, click on the "ModSecurity" Icon.3. If ModSecurity is enabled, it will show a "Disable" option, click it and ModSecurity will be disabled on all your domains. Next time, if you want to enable it, you will only need to click on "Enable". This will enable it on all domains.How to Disable ModSecurity Only on Selected Domains and not on All Domains?It is possible that you have multiple domains and you wish to disable or enable ModSecurity only on selected domains.1. Login to cPanel and from the "Security" section click on the "ModSecurity" Icon.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? Yes No Print this Article Also Read How to ban any IP Address via .htaccess? If someone is trying to hack your website or you want to block their IP Address, you can add this... How to protect your .htaccess file? For security purpose we recommended you to prevent access to your .htaccess file from... How to Disable the Two-Factor Authentication on Your cPanel Account? If you want to remove the Two-Factor Authentication from your cPanel account, follow this... How to protect your website's images from an external website? External Website can use < img /> tag to display an image from your site somewhere else on... How to restrict directory access by IP address? In order to secure your admin area from hackers, we recommended you to allow access only from... Powered by WHMCompleteSolution Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket