{"id":287,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=287"},"modified":"2023-10-12T06:10:30","modified_gmt":"2023-10-12T06:10:30","slug":"How-to-Disable-ModSecurity-in-cPanel","status":"publish","type":"post","link":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html","title":{"rendered":"How to Disable ModSecurity in cPanel?"},"content":{"rendered":"<div class=\"kb-article-content\">\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Are you curious about disabling ModSecurity for a particular domain in cPanel?<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Well, here&#8217;s a guide to help you disable ModSecurity!<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">But before we dive in, let&#8217;s understand what ModSecurity does.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">ModSecurity is a web application firewall that plays a crucial role in protecting web applications from various cyber threats &amp; attacks. It acts as a wall between the web server and incoming traffic on the web, which helps in identifying &amp; mitigating potential security threats.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This shows that enabling Modsecurity on the website is a good practice!<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">However, there might be some scenarios where the need to disable ModSecurity temporarily or permanently may arise to troubleshoot the issues or allow certain blocked requests.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In this article, We will provide you with step-by-step instructions on how to disable ModSecurity in cPanel.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><strong>Also Read: <\/strong><\/span><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/261\/How-to-Clear-the-Website-Cache-in-cPanel.html\"><strong>How to Clear the Website Cache in cPanel?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Steps to Disable ModSecurity in cPanel<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">\u2794&nbsp;<\/span>Login to cPanel<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/771_cPanel.png\" alt=\"cPanel\" width=\"405\" height=\"383\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">\u2794&nbsp;<\/span>After logging in, navigate to the \u2018Security\u2019 section in the panel.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/772_Security-section-in-the-pane.png\" alt=\"Security section in the pane\" width=\"845\" height=\"60\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">\u2794&nbsp;<\/span>In that section, look for the &#8220;ModSecurity&#8221; icon and click on it.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/773_File-manager.png\" alt=\"File manager\" width=\"847\" height=\"314\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">\u2794&nbsp;<\/span>In the ModSecurity interface, You will see a list of domains associated with your cPanel account.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/775_list-of-domains-associated.png\" alt=\"Click on button\" width=\"249\" height=\"96\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">\u2794 Select the domain you want to disable ModSecurity &amp; toggle the button <\/span><strong>ON to OFF<\/strong><span style=\"font-weight: 400;\">.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/776_Click-on-button.png\" alt=\"Click on button\" width=\"755\" height=\"102\"><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This will effectively disable ModSecurity for the selected domain!<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/246\/What-is-HSTS-and-How-to-Implement-on-your-website.html\"><strong>What is HSTS &amp; How to Implement on your website?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>Conclusion<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This is how the process of disabling ModSecurity works in the cPanel. After troubleshooting the specific compatibility issues, make sure to re-enable the ModSecurity once the issue is resolved to maintain the security of your websites.<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Are you curious about disabling ModSecurity for a particular domain in cPanel? Well, here&#8217;s a guide to help you disable ModSecurity! But before we dive in, let&#8217;s understand what ModSecurity does. ModSecurity is a web application firewall that plays a crucial role in protecting web applications from various cyber threats &amp; attacks. It acts as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Disable ModSecurity in cPanel?<\/title>\n<meta name=\"description\" content=\"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable ModSecurity in cPanel?\" \/>\n<meta property=\"og:description\" content=\"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-06T08:39:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-12T06:10:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/771_cPanel.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\"},\"headline\":\"How to Disable ModSecurity in cPanel?\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-12T06:10:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\"},\"wordCount\":273,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\",\"name\":\"How to Disable ModSecurity in cPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-12T06:10:30+00:00\",\"description\":\"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\",\"name\":\"Host IT Smart Knowledge base\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":240,\"height\":80,\"caption\":\"Host IT Smart Knowledge base\"},\"image\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable ModSecurity in cPanel?","description":"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html","og_locale":"en_US","og_type":"article","og_title":"How to Disable ModSecurity in cPanel?","og_description":"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!","og_url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2023-10-06T08:39:39+00:00","article_modified_time":"2023-10-12T06:10:30+00:00","og_image":[{"url":"https:\/\/hostitsmart.com\/manage\/images\/kb\/771_cPanel.png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html#article","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html"},"author":{"name":"Admin","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9"},"headline":"How to Disable ModSecurity in cPanel?","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-12T06:10:30+00:00","mainEntityOfPage":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html"},"wordCount":273,"commentCount":0,"publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"articleSection":["cPanel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html","name":"How to Disable ModSecurity in cPanel?","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-12T06:10:30+00:00","description":"Learn to disable ModSecurity in cPanel for a particular domain with our step-by-step guide in detail. Let\u2019s get started!","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html"]}]},{"@type":"WebSite","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization","name":"Host IT Smart Knowledge base","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":240,"height":80,"caption":"Host IT Smart Knowledge base"},"image":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":1,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287\/revisions\/644"}],"wp:attachment":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}