{"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":"2025-04-04T12:45:38","modified_gmt":"2025-04-04T12:45:38","slug":"how-to-disable-modsecurity-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.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:\/\/www.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:\/\/www.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:\/\/www.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:\/\/www.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:\/\/www.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 v24.2 - 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:\/\/www.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:\/\/www.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=\"2025-04-04T12:45:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.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\":\"WebPage\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html\",\"name\":\"How to Disable ModSecurity in cPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2025-04-04T12:45:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\"},\"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:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png\",\"contentUrl\":\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/www.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:\/\/www.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:\/\/www.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":"2025-04-04T12:45:38+00:00","og_image":[{"url":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png","type":"","width":"","height":""}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html","name":"How to Disable ModSecurity in cPanel?","isPartOf":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage"},"image":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage"},"thumbnailUrl":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2025-04-04T12:45:38+00:00","author":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108"},"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:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/how-to-disable-modsecurity-in-cpanel.html#primaryimage","url":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png","contentUrl":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/771_cPanel.png"},{"@type":"WebSite","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":2,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":2760,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/287\/revisions\/2760"}],"wp:attachment":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}