{"id":12907,"date":"2021-05-03T12:09:13","date_gmt":"2021-05-03T12:09:13","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=12907"},"modified":"2026-02-27T13:04:56","modified_gmt":"2026-02-27T07:34:56","slug":"disable-modsecurity-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/","title":{"rendered":"How to Disable ModSecurity in cPanel?"},"content":{"rendered":"<p><strong>Watch this video for a step by step process on how to Disable ModSecurity in cPanel<\/strong><\/p>\n<div class=\"youtube-video\" style=\"border: 1px solid #ddd;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/W3KJSZM35aI\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>ModSecurity or Modsec\u00a0is an open-source web application firewall. It is a software tool for the Apache HTTP Server that protects your site from brute force attacks. It is set to automatically run on all new accounts by default.<\/p>\n<p>However, there are times when you have to deactivate ModSecurity temporarily to resolve an issue.<\/p>\n<h2>To Disable ModSecurity in cPanel<\/h2>\n<p>1. Log in to your cPanel account.<\/p>\n<p>2. Click the <strong>ModSecurity<\/strong> option in the <strong>Security<\/strong> section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11592\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/05\/modsec_cp.png\" alt=\"\" width=\"1353\" height=\"272\" \/> You can see the list of the domains under\u00a0your cPanel account.<\/p>\n<p>3. To switch\/disable the ModSecurity of a domain, click the <strong>Off<\/strong> switch under its\u00a0<strong>Status<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11593\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/05\/da_modsec_off.jpg\" alt=\"\" width=\"1796\" height=\"824\" \/><\/p>\n<p>4. Sort out and fix the issue you have.<\/p>\n<p>5. Right after that, enable\u00a0the ModSecurity by clicking the <strong>On<\/strong> switch for the domain.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11594\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/05\/da_modsec_on.jpg\" alt=\"\" width=\"1622\" height=\"222\" \/><\/p>\n<div class=\"kb-wisdom-wrapr kb-wisdom-warning kb-wisdom-wrapr-red\">\n<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n<div class=\"kb-wisdom-icon\">\n<div><\/div>\n<\/div>\n<\/div>\n<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n<p><strong>Warning<\/strong>: Immediately switch <strong>On<\/strong>\u00a0the ModSecurity of the domain after you troubleshoot the issue.\u00a0If you don&#8217;t,\u00a0 it may cause serious security concerns. <em>Never leave the ModSecurity disabled for long.<\/em><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p><script type=\"application\/ld+json\">{\n  \"@context\": \"http:\/\/schema.org\",\n  \"@type\": \"VideoObject\",\n  \"name\": \"How to Disable ModSecurity in cPanel? | MilesWeb\",\n  \"description\": \"Here's an in-depth guide on how to disable ModSecurity in cPanel: https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/  Give a thumbs up \ud83d\udc4d if you liked this video.  Subscribe to our channel and get notified for all the latest videos. To know more about web hosting visit our website - https:\/\/www.milesweb.in\",\n  \"thumbnailUrl\": \"https:\/\/i.ytimg.com\/vi\/W3KJSZM35aI\/default.jpg\",\n  \"uploadDate\": \"2021-05-24T08:34:51Z\",\n  \"duration\": \"PT1M47S\",\n  \"embedUrl\": \"https:\/\/www.youtube.com\/embed\/W3KJSZM35aI\",\n  \"interactionCount\": \"59\"\n}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Watch this video for a step by step process on how to Disable ModSecurity in cPanel ModSecurity or Modsec\u00a0is an open-source web application firewall. It is a software tool for the Apache HTTP Server that protects your site from brute force attacks. It is set to automatically run on all new accounts by default. However, [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3049],"tags":[152,2202,1729,2200,2199,2201],"class_list":["post-12907","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-security-and-ssl","tag-cpanel","tag-cpanel-faqs","tag-cpanel-settings","tag-disable-modsecurity-in-cpanel","tag-how-to-disable-modsecurity-in-cpanel","tag-modsecurity-in-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Disable ModSecurity in cPanel? - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.\" \/>\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.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/\" \/>\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? - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-03T12:09:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-27T07:34:56+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Disable ModSecurity in cPanel?\",\"datePublished\":\"2021-05-03T12:09:13+00:00\",\"dateModified\":\"2026-02-27T07:34:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/\"},\"wordCount\":176,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/modsec_cp.png\",\"keywords\":[\"cPanel\",\"cPanel FAQs\",\"cPanel settings\",\"Disable ModSecurity in cPanel\",\"How to Disable ModSecurity in cPanel\",\"ModSecurity in cPanel\"],\"articleSection\":[\"Security &amp; SSL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/\",\"name\":\"How to Disable ModSecurity in cPanel? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/modsec_cp.png\",\"datePublished\":\"2021-05-03T12:09:13+00:00\",\"dateModified\":\"2026-02-27T07:34:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/disable-modsecurity-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable ModSecurity in cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\\\/\\\/www.milesweb.in\"],\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/author\\\/prasad-khartadkar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable ModSecurity in cPanel? - Web Hosting FAQs by MilesWeb","description":"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.","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.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable ModSecurity in cPanel? - Web Hosting FAQs by MilesWeb","og_description":"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-05-03T12:09:13+00:00","article_modified_time":"2026-02-27T07:34:56+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Disable ModSecurity in cPanel?","datePublished":"2021-05-03T12:09:13+00:00","dateModified":"2026-02-27T07:34:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/"},"wordCount":176,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/05\/modsec_cp.png","keywords":["cPanel","cPanel FAQs","cPanel settings","Disable ModSecurity in cPanel","How to Disable ModSecurity in cPanel","ModSecurity in cPanel"],"articleSection":["Security &amp; SSL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/","name":"How to Disable ModSecurity in cPanel? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/05\/modsec_cp.png","datePublished":"2021-05-03T12:09:13+00:00","dateModified":"2026-02-27T07:34:56+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"You can disable and enable the ModSecurity for your domains via cPanel. ModSecurity protects your domains and should be disabled only when necessary.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/disable-modsecurity-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Disable ModSecurity in cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=12907"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12907\/revisions"}],"predecessor-version":[{"id":13067,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12907\/revisions\/13067"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=12907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=12907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=12907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}