{"id":3558,"date":"2015-12-14T11:45:15","date_gmt":"2015-12-14T16:45:15","guid":{"rendered":"http:\/\/underhost.com\/blog\/?p=3558"},"modified":"2026-10-23T08:57:36","modified_gmt":"2026-10-23T12:57:36","slug":"cpanel-tutorial-security-ip-deny-manager","status":"publish","type":"post","link":"https:\/\/underhost.com\/blog\/cpanel-tutorial-security-ip-deny-manager\/","title":{"rendered":"cPanel IP Blocker (IP Deny Manager): How to Block IP Addresses From Your Website"},"content":{"rendered":"<div class=\"uh-blog-hero\" style=\"margin:0 0 40px;text-align:center;padding:48px 24px;border-radius:20px;background:linear-gradient(135deg,#0D1F3C 0%,#125A8A 58%,#176EA5 100%);color:#ffffff;box-shadow:0 20px 40px -15px rgba(13,31,60,0.28);position:relative;overflow:hidden;\">\n<div style=\"display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-bottom:16px;border:1px solid rgba(0,212,255,0.32);border-radius:999px;color:#DFF8FF;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(0,212,255,0.10);\"><i class=\"fas fa-sliders-h\" style=\"color:#00D4FF;\"><\/i> Control Panels<\/div>\n<h1 style=\"color:#ffffff;font-size:clamp(32px,5vw,46px);line-height:1.12;margin:0 0 14px;font-weight:800;\">cPanel IP Blocker (IP Deny Manager): How to Block IP Addresses From Your Website<\/h1>\n<p style=\"font-size:18px;color:#EAF6FF;max-width:800px;margin:0 auto;line-height:1.7;\">The IP Deny Manager in cPanel allows you to block specific IP addresses, domains, or entire IP ranges from accessing your website. This feature is useful for preventing malicious visitors, spam attacks, and unauthorized access.<\/p>\n<\/div>\n<div class=\"uh-blog-excerpt\" style=\"border-left:4px solid #00D4FF;padding:18px 20px;margin:0 0 34px;background:#F8FAFC;color:#1F2937;border-radius:0 14px 14px 0;box-shadow:0 8px 28px rgba(13,31,60,0.08);line-height:1.75;\"><strong style=\"color:#0D1F3C;\">Short answer:<\/strong> In cPanel, open <strong>Security &gt; IP Blocker<\/strong> (called IP Deny Manager in older versions), enter an IP address, a range or a domain name, and click <strong>Add<\/strong>. Visitors from that address then get a <em>403 Forbidden<\/em> error on your websites. The block applies only to web traffic on your account. It does not stop email or FTP, and it needs extra setup if your site is behind Cloudflare.<\/div>\n<nav aria-label=\"Table of contents\" class=\"uh-toc\" style=\"background:#ffffff;border:1px solid #E5E7EB;border-radius:16px;padding:20px 22px;margin:0 0 34px;box-shadow:0 4px 12px rgba(13,31,60,0.08);\">\n<div style=\"font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#176EA5;margin-bottom:10px;\"><i class=\"fas fa-list\" style=\"color:#00D4FF;\"><\/i> In this guide<\/div>\n<ol style=\"margin:0;padding-left:20px;columns:2 260px;column-gap:28px;line-height:1.9;\">\n<li><a href=\"#what-ip-blocker-does\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">What IP Blocker does<\/a><\/li>\n<li><a href=\"#block-an-ip-address\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Block an IP address<\/a><\/li>\n<li><a href=\"#formats-you-can-use\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Formats you can use<\/a><\/li>\n<li><a href=\"#remove-a-block\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Remove a block<\/a><\/li>\n<li><a href=\"#find-which-addresses-to-block\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Find which addresses to block<\/a><\/li>\n<li><a href=\"#what-the-rules-look-like\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">What the rules look like<\/a><\/li>\n<li><a href=\"#sites-behind-cloudflare\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Sites behind Cloudflare<\/a><\/li>\n<li><a href=\"#limits-of-ip-blocking\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Limits of IP blocking<\/a><\/li>\n<li><a href=\"#troubleshooting\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Troubleshooting<\/a><\/li>\n<\/ol>\n<\/nav>\n<div class=\"uh-post-content\" style=\"color:#1F2937;font-size:16px;line-height:1.75;\">\n<h2 id=\"what-ip-blocker-does\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-info-circle\" style=\"color:#00D4FF;\"><\/i> What IP Blocker does<\/h2>\n<p style=\"margin:0 0 18px;\">IP Blocker adds deny rules to the <code>.htaccess<\/code> file in your <code>public_html<\/code> folder. The web server then refuses requests from the blocked addresses. It is useful for:<\/p>\n<ul style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\">Stopping a bot or scraper that hammers your site.<\/li>\n<li style=\"margin:0 0 8px;\">Blocking an address that keeps trying to log in to your CMS.<\/li>\n<li style=\"margin:0 0 8px;\">Keeping out a visitor who spams your forms or comments.<\/li>\n<\/ul>\n<p style=\"margin:0 0 18px;\">Because the rules live in <code>.htaccess<\/code>, they apply to the sites under <code>public_html<\/code>, including addon domains in subfolders of it.<\/p>\n<h2 id=\"block-an-ip-address\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Block an IP address<\/h2>\n<ol style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\">Log in to cPanel.<\/li>\n<li style=\"margin:0 0 8px;\">Open <strong>Security &gt; IP Blocker<\/strong>.<\/li>\n<li style=\"margin:0 0 8px;\">Enter the address, range or domain in the <strong>Add an IP or Range<\/strong> field.<\/li>\n<li style=\"margin:0 0 8px;\">Click <strong>Add<\/strong>. The entry appears in the list of blocked addresses.<\/li>\n<\/ol>\n<h2 id=\"formats-you-can-use\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Formats you can use<\/h2>\n<div style=\"overflow-x:auto;margin:26px 0;border:1px solid #E5E7EB;border-radius:14px;-webkit-overflow-scrolling:touch;\">\n<table style=\"width:100%;border-collapse:collapse;background:#ffffff;color:#1F2937;font-size:15px;line-height:1.55;margin:0;min-width:600px;\">\n<thead>\n<tr style=\"background:#0D1F3C;color:#fff;\">\n<th style=\"padding:14px;text-align:left;\">Format<\/th>\n<th style=\"padding:14px;text-align:left;\">Example<\/th>\n<th style=\"padding:14px;text-align:left;\">Blocks<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Single IP address<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>203.0.113.25<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">One IPv4 address<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Range<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>203.0.113.10-203.0.113.40<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Every address between the two<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">CIDR<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>203.0.113.0\/24<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">A whole network (256 addresses here)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Partial address<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>203.0.113.<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Every address that starts with these numbers<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">IPv6<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>2001:db8::25<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">One IPv6 address<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Domain name<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\"><code>example.net<\/code><\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">The IP address the domain points to at the time you add it<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin:0 0 18px;\">Be careful with ranges. A large range can block real visitors who share a provider with the attacker.<\/p>\n<h2 id=\"remove-a-block\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Remove a block<\/h2>\n<ol style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\">Open <strong>Security &gt; IP Blocker<\/strong>.<\/li>\n<li style=\"margin:0 0 8px;\">Find the address in the list of currently blocked IP addresses.<\/li>\n<li style=\"margin:0 0 8px;\">Click <strong>Delete<\/strong> next to it and confirm.<\/li>\n<\/ol>\n<h2 id=\"find-which-addresses-to-block\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Find which addresses to block<\/h2>\n<p style=\"margin:0 0 18px;\">Before you block, check who is causing the problem. In cPanel, <strong>Metrics &gt; Visitors<\/strong> and <strong>Metrics &gt; Raw Access<\/strong> show recent requests with their IP addresses. Look for one address with a very high number of requests, or many requests to login pages such as <code>wp-login.php<\/code> or <code>xmlrpc.php<\/code>.<\/p>\n<h2 id=\"what-the-rules-look-like\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-info-circle\" style=\"color:#00D4FF;\"><\/i> What the rules look like<\/h2>\n<p style=\"margin:0 0 18px;\">IP Blocker writes rules like these to <code>public_html\/.htaccess<\/code>. You can also add them by hand:<\/p>\n<pre style=\"background:#0D1F3C;color:#EAF6FF;padding:18px 20px;border-radius:14px;overflow-x:auto;line-height:1.7;font-size:15px;\"><code>&lt;RequireAll&gt;\n    Require all granted\n    Require not ip 203.0.113.25\n    Require not ip 198.51.100.0\/24\n&lt;\/RequireAll&gt;<\/code><\/pre>\n<p style=\"margin:0 0 18px;\">Keep a copy of <code>.htaccess<\/code> before you edit it by hand. A typing mistake causes a 500 error for the whole site.<\/p>\n<h2 id=\"sites-behind-cloudflare\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Sites behind Cloudflare<\/h2>\n<p style=\"margin:0 0 18px;\">If your site uses Cloudflare&#8217;s proxy, every request reaches the server from a Cloudflare IP address, so blocking a visitor&#8217;s address in cPanel has no effect. Block the address in Cloudflare&#8217;s security rules instead, or ask your host to set up real visitor IPs. Our <a href=\"https:\/\/underhost.com\/blog\/the-best-way-to-use-cloudflare-with-cpanel-whm-for-better-performance\/\">Cloudflare and cPanel guide<\/a> explains how.<\/p>\n<h2 id=\"limits-of-ip-blocking\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Limits of IP blocking<\/h2>\n<ul style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\">Attackers can change IP addresses, so blocks on single addresses rarely stop a determined attacker.<\/li>\n<li style=\"margin:0 0 8px;\">IP Blocker does not protect email, FTP or cPanel logins. The server firewall and cPHulk handle those.<\/li>\n<li style=\"margin:0 0 8px;\">Blocking a domain blocks only the IP address it had when you added it. If the domain moves, update the block.<\/li>\n<\/ul>\n<p style=\"margin:0 0 18px;\">For server-wide protection on a VPS or dedicated server, use a firewall such as <a href=\"https:\/\/underhost.com\/blog\/how-to-install-and-configure-csf-firewall-on-your-server\/\">CSF<\/a>, and a web application firewall such as <a href=\"https:\/\/underhost.com\/blog\/how-to-configure-modsecurity-in-cpanel-for-advanced-security\/\">ModSecurity<\/a>.<\/p>\n<h2 id=\"troubleshooting\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-exclamation-triangle\" style=\"color:#00D4FF;\"><\/i> Troubleshooting<\/h2>\n<div style=\"overflow-x:auto;margin:26px 0;border:1px solid #E5E7EB;border-radius:14px;-webkit-overflow-scrolling:touch;\">\n<table style=\"width:100%;border-collapse:collapse;background:#ffffff;color:#1F2937;font-size:15px;line-height:1.55;margin:0;min-width:600px;\">\n<thead>\n<tr style=\"background:#0D1F3C;color:#fff;\">\n<th style=\"padding:14px;text-align:left;\">Problem<\/th>\n<th style=\"padding:14px;text-align:left;\">Likely cause<\/th>\n<th style=\"padding:14px;text-align:left;\">Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">The blocked visitor still gets through<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">The site is behind Cloudflare or another proxy<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Block the address in Cloudflare, or set up real visitor IPs.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">You blocked yourself<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Your own address or range was added<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Remove it in IP Blocker from another network, or ask support.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">The site shows a 500 error after a manual edit<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">A mistake in .htaccess<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Restore the copy of .htaccess or fix the line.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div aria-hidden=\"true\" class=\"uh-section-divider\" style=\"width:min(100% - 32px, 1080px);margin:44px auto;display:grid;grid-template-columns:1fr 32px 1fr;align-items:center;gap:18px;pointer-events:none;\"><span style=\"height:1px;background:linear-gradient(90deg,transparent,rgba(0,212,255,0.40),rgba(23,110,165,0.24),transparent);\"><\/span><img alt=\"\" decoding=\"async\" height=\"32\" loading=\"lazy\" src=\"https:\/\/cdn.underhost.com\/android-chrome-192x192.webp\" style=\"width:32px;height:32px;display:block;border-radius:8px;filter:drop-shadow(0 0 14px rgba(0,212,255,0.30));\" width=\"32\"\/><span style=\"height:1px;background:linear-gradient(90deg,transparent,rgba(23,110,165,0.24),rgba(0,212,255,0.40),transparent);\"><\/span><\/div>\n<\/div>\n<div class=\"uh-blog-cta\" style=\"background:linear-gradient(135deg,#0D1F3C 0%,#125A8A 58%,#176EA5 100%);color:#ffffff;padding:36px 24px;border-radius:20px;text-align:center;margin:44px 0;box-shadow:0 20px 40px -15px rgba(13,31,60,0.32);\">\n<h2 style=\"margin:0 0 12px;font-size:28px;line-height:1.25;color:#ffffff;\">Need help with this?<\/h2>\n<p style=\"font-size:17px;margin:0 auto 22px;color:#EAF6FF;max-width:720px;line-height:1.7;\">Under attack or getting too many bad requests? Our support team can help block the source.<\/p>\n<p><a href=\"https:\/\/underhost.com\/shared-hosting.php\" style=\"background:linear-gradient(90deg,#00D4FF,#0077FF);color:#ffffff;padding:13px 28px;border-radius:10px;text-decoration:none;font-weight:800;display:inline-block;margin:8px;\">See web hosting plans<\/a><a href=\"https:\/\/customerpanel.ca\/client\/\" style=\"background:transparent;color:#ffffff;padding:12px 28px;border-radius:10px;text-decoration:none;font-weight:800;display:inline-block;margin:8px;border:1px solid rgba(255,255,255,0.32);\">Contact @CustomerPanel<\/a><\/div>\n<div class=\"uh-faq-section\" id=\"faq\" style=\"margin:34px 0;scroll-margin-top:90px;\">\n<h2 style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:0 0 18px;border-bottom:2px solid rgba(0,212,255,0.22);padding-bottom:10px;\">Frequently asked questions<\/h2>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Where is IP Deny Manager in the new cPanel?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">It is called IP Blocker, under Security.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Does IP Blocker block email from an address?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">No. It blocks web access only. Use email filters or the server firewall for mail.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Can I block a whole country in cPanel?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">Not with IP Blocker in a practical way. Use Cloudflare&#8217;s country rules, or a server firewall such as CSF on a VPS.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Why does a blocked visitor still reach my site?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">Usually because the site is behind Cloudflare, so the server sees Cloudflare&#8217;s IP addresses. Block the visitor in Cloudflare.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">How do I unblock an IP address?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">Open Security &gt; IP Blocker, find the address in the list, and click Delete.<\/p>\n<\/div>\n<\/div>\n<p><!-- uh-related-start --><\/p>\n<div style=\"background:#F4F8FC;border:1px solid #DCE7F3;border-radius:14px;padding:18px 22px;margin:32px 0 8px;\">\n<h2 style=\"margin:0 0 12px;font-size:22px;\">Related guides<\/h2>\n<ul style=\"margin:0;padding-left:20px;\">\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/cpanel-tutorial-files-file-permissions\/\">cPanel Tutorial: Files &#8211; File Permissions<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/cpanel-tutorial-domains-parked-domains\/\">cPanel Tutorial: Domains &#8211; Parked Domains<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/cpanel-tutorial-domains-addon-domains\/\">cPanel Tutorial: Domains &#8211; Addon Domains<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/top-cpanel-security-tips-to-keep-your-hosting-environment-safe\/\">Top cPanel Security Tips to Keep Your Hosting Environment Safe<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/how-to-configure-modsecurity-in-cpanel-for-advanced-security\/\">How to Configure ModSecurity in cPanel for Advanced Security<\/a><\/li>\n<\/ul>\n<\/div>\n<p><!-- uh-related-end --><br \/>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Where is IP Deny Manager in the new cPanel?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It is called IP Blocker, under Security.\"}}, {\"@type\": \"Question\", \"name\": \"Does IP Blocker block email from an address?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. It blocks web access only. Use email filters or the server firewall for mail.\"}}, {\"@type\": \"Question\", \"name\": \"Can I block a whole country in cPanel?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Not with IP Blocker in a practical way. Use Cloudflare's country rules, or a server firewall such as CSF on a VPS.\"}}, {\"@type\": \"Question\", \"name\": \"Why does a blocked visitor still reach my site?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Usually because the site is behind Cloudflare, so the server sees Cloudflare's IP addresses. Block the visitor in Cloudflare.\"}}, {\"@type\": \"Question\", \"name\": \"How do I unblock an IP address?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Open Security > IP Blocker, find the address in the list, and click Delete.\"}}]}<\/script><\/p>\n<h2 id=\"sources\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-book\" style=\"color:#00D4FF;\"><\/i> Sources<\/h2>\n<ul style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/docs.cpanel.net\/cpanel\/security\/ip-blocker\/\">cPanel documentation: IP Blocker<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/mod\/mod_authz_host.html\">Apache documentation: mod_authz_host<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The IP Deny Manager in cPanel allows you to block specific IP addresses, domains, or entire IP ranges from accessing your website. This feature is useful for preventing malicious visitors, spam attacks, and unauthorized access.<\/p>\n","protected":false},"author":1,"featured_media":4853,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,202,203],"tags":[161,108,123,137],"class_list":["post-3558","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panels","category-cpanel-whm","category-security","tag-cloudflare","tag-tag-cpanel","tag-tag-domains","tag-tag-firewall"],"_links":{"self":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/comments?post=3558"}],"version-history":[{"count":9,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3558\/revisions"}],"predecessor-version":[{"id":6960,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3558\/revisions\/6960"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media\/4853"}],"wp:attachment":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media?parent=3558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/categories?post=3558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/tags?post=3558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}