{"id":288,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=288"},"modified":"2023-10-12T06:11:18","modified_gmt":"2023-10-12T06:11:18","slug":"How-to-Enable-ModSecurity-in-cPanel","status":"publish","type":"post","link":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html","title":{"rendered":"How to Enable ModSecurity in cPanel?"},"content":{"rendered":"<div class=\"kb-article-content\">\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">By enabling ModSecurity in your cPanel, You are taking a proactive step towards enhancing the security of your website.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In simple words, ModSecurity is a powerful web application firewall that helps in the website\u2019s protection from various kinds of online threats and attacks.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">As we all know, there is a major rise in cybersecurity threats, and websites are frequently targeted by malicious actors seeking to exploit vulnerabilities. In that case, ModSecurity plays a major role by serving as a robust web application firewall that acts as a strong wall between your website and potential threats.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In this article, we will discuss the step-by-step process to enable ModSecurity in your cPanel for enhanced security on your website.<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/258\/How-to-Install-a-PHP-Script-in-cPanel.html\"><strong>How to Install a PHP Script 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 Enable ModSecurity in cPanel<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">\u2794 Firstly, log in to cPanel with your username &amp; password.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/777_cPanel.png\" alt=\"cPanel\" width=\"405\" height=\"383\"><\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">\u2794 Once you log in, Locate the \u2018Security\u2019 section in the cPanel.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/778_Security-option.png\" alt=\"Security option\" width=\"845\" height=\"60\"><\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">\u2794 In that section, you will find the \u2018ModSecurity\u2019. Just click on it.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin: 10px auto;\" src=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/779_Select-on-ModSecurity-Interface.png\" alt=\"Select on ModSecurity Interface\" width=\"847\" height=\"314\"><\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">\u2794 After clicking it, You will reach the ModSecurity Interface, where you will see the listed domains associated with your particular 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\/780_list-of-domains-associated.png\" alt=\"list of domains associated\" width=\"248\" height=\"96\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">\u2794 In that interface, you will see a toggle switch \u2018On\u2019 &amp; \u2018OFF.\u2019 To enable ModSecurity, Just toggle switch to turn it on.<\/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\/781_Click-on-or-off-option.png\" alt=\"Click on or off option\" width=\"754\" height=\"95\"><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">By this, Your ModSecurity gets enabled in your cPanel account!<\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/287\/How-to-Disable-ModSecurity-in-cPanel.html\"><strong>How to Disable ModSecurity 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>Conclusion<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Following the steps outlined in this article, you can protect your website from a wide range of web-based attacks. However, it&#8217;s important to monitor your ModSecurity logs and keep your rules fully updated to maintain a higher level of security.<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>By enabling ModSecurity in your cPanel, You are taking a proactive step towards enhancing the security of your website. In simple words, ModSecurity is a powerful web application firewall that helps in the website\u2019s protection from various kinds of online threats and attacks. As we all know, there is a major rise in cybersecurity threats, [&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-288","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 Enable ModSecurity in cPanel?<\/title>\n<meta name=\"description\" content=\"Learn to enable 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\/288\/How-to-Enable-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 Enable ModSecurity in cPanel?\" \/>\n<meta property=\"og:description\" content=\"Learn to enable 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\/288\/How-to-Enable-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:11:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostitsmart.com\/manage\/images\/kb\/777_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\/288\/How-to-Enable-ModSecurity-in-cPanel.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\"},\"headline\":\"How to Enable ModSecurity in cPanel?\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-12T06:11:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html\"},\"wordCount\":275,\"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\/288\/How-to-Enable-ModSecurity-in-cPanel.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html\",\"name\":\"How to Enable ModSecurity in cPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-12T06:11:18+00:00\",\"description\":\"Learn to enable 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\/288\/How-to-Enable-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 Enable ModSecurity in cPanel?","description":"Learn to enable 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\/288\/How-to-Enable-ModSecurity-in-cPanel.html","og_locale":"en_US","og_type":"article","og_title":"How to Enable ModSecurity in cPanel?","og_description":"Learn to enable 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\/288\/How-to-Enable-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:11:18+00:00","og_image":[{"url":"https:\/\/hostitsmart.com\/manage\/images\/kb\/777_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\/288\/How-to-Enable-ModSecurity-in-cPanel.html#article","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html"},"author":{"name":"Admin","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9"},"headline":"How to Enable ModSecurity in cPanel?","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-12T06:11:18+00:00","mainEntityOfPage":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html"},"wordCount":275,"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\/288\/How-to-Enable-ModSecurity-in-cPanel.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/288\/How-to-Enable-ModSecurity-in-cPanel.html","name":"How to Enable ModSecurity in cPanel?","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-12T06:11:18+00:00","description":"Learn to enable 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\/288\/How-to-Enable-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\/288","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=288"}],"version-history":[{"count":1,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":645,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/288\/revisions\/645"}],"wp:attachment":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}