{"id":5477,"date":"2021-01-29T10:49:19","date_gmt":"2021-01-29T10:49:19","guid":{"rendered":"http:\/\/www.webhosting.uk.com\/kb\/?p=5477"},"modified":"2025-07-03T11:31:14","modified_gmt":"2025-07-03T11:31:14","slug":"how-to-block-an-ip-address-or-a-domain-name-using-cpanel","status":"publish","type":"post","link":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/","title":{"rendered":"How to block an IP address or a domain name using cPanel"},"content":{"rendered":"\r\n<div>In today&#8217;s digital world, business website security is critical. An effective way to increase security is to block IP addresses or domain names that pose a threat. You can protect your website from hacking attempts, DDoS attacks and other malicious activities.<\/div>\r\n<div><br \/>This article will guide you through the process of blocking unwanted IP addresses and domain names using the cPanel IP Blocker tool.<\/div>\r\n<div>\u00a0<\/div>\r\n\r\n\r\n\r\n<h2>Block an IP address or a Domain Name in cPanel<\/h2>\r\n<div>Before proceeding for IP blocking , you\u00a0need to\u00a0know the that IP address or domain name you want to block.<\/div>\r\n\r\n\r\n\r\n\r\n\r\n<ol>\r\n<li>Log in to your <strong>cPanel<\/strong> account.<\/li>\r\n<li>In the cPanel dashboard , Scroll down to the <strong>Security<\/strong> section and click on &#8220;IP Blocker&#8221;.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png\" alt=\"IP blocker\" width=\"369\" height=\"144\" \/><\/li>\r\n<li>Now, here you will get the option of <strong>&#8220;Add an IP or Range&#8221;<\/strong>. You have to enter the IP address or domain name that you want to block.<br \/><br \/>Apart from that, you can also block a range of IP addresses. For this, you need to specify the first and last IP addresses separated by hyphens. For e.g. &#8211; 193.166.0.2-193.166.0.50<br \/><br \/>If you wish, you can also enter an IP range to block a range of IP addresses. See bottom of page for the correct format.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/222.png\" alt=\"add range of up address\" width=\"619\" height=\"299\" \/><\/li>\r\n<li>To start the blocking process, click the <strong>&#8220;Add&#8221;<\/strong> button. If the blocking is successful, you get a notification confirming the action. You will then see the following notification:<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/333-1.png\" alt=\"blocking is successful\" width=\"559\" height=\"199\" \/><\/li>\r\n<li>When you return to the <strong>IP Blocker dashboard<\/strong>, you will see the IP address or domain name listed in the <strong>Currently-Blocked IP Addresses<\/strong>\u00a0table.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/444.png\" alt=\"Currently-Blocked IP Addresses\" width=\"938\" height=\"135\" \/><\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n\r\n\r\n<div>If you\u00a0wish\u00a0to unblock an IP address or domain name in the future, simply find the entry in the <strong>&#8220;Currently-Blocked IP Addresses&#8221;<\/strong> table and click &#8220;Delete&#8221; in the Actions column. by doing so, it will remove the block and allow access from the previously blocked IP or domain.<\/div>\r\n<div>\u00a0<\/div>\r\n\r\n\r\n\r\n<h3><strong>Additional Information:<\/strong><\/h3>\r\n<p class=\"wp-block-paragraph\"><strong> IP addresses, IP range and domain name formats<\/strong><\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Single IP Address<\/strong>\u00a0\u2013 To block a single IP address, use the standard IP format of four sets of numbers, each separated by a dot. For example,\u00a0193.166.0.2<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Range<\/strong>\u00a0\u2013 To block a range of IP addresses, list the first and last of the range you wish to block and separate them with a hyphen\/dash. For example, 193.166.0.2-193.166.0.50<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Implied Range<\/strong>\u00a0\u2013 This is a shorthand way to input a range. For example: 193.166.0.2-50<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Implied IP address<\/strong>\u00a0\u2013 This uses a truncated version of an IP address to bulk block all IP addresses that follow the last used dot. For example, inputting 193. would block all IP addresses which start with 193. Similarly, inputting 193.166. would block all IP addresses beginning with 193.166.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Domain name\u00a0\u2013<\/strong> This uses the domain name e.g. website.com. You don\u2019t need to input the full URL. When this in inputted, IP Blocker\u00a0will try to find the domain\u2019s IP address for you.<\/p>\r\n<p>In this way , you can block IP addresses or domain names in cPanel. In addition, you can manage multiple accounts in WHM for better site management. If you need to <a href=\"https:\/\/www.webhosting.uk.com\/kb\/change-ip-addresses-of-multiple-accounts-in-whm\/\">change the IP addresses associated with multiple accounts<\/a> for any reason, WHM provides a convenient solution. this helps to efficiently monitor and manage the IP addresses in your hosting accounts in WHM.<\/p>\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s digital world, business website security is critical. An effective way to increase security is to block IP addresses or domain names that pose a threat. You can protect&hellip;<\/p>\n<p><a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\" class=\"more-link\">Read More<\/a><\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' data-heateor-sss-href='https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" >Spread the love<\/div><div class=\"heateor_sss_sharing_ul\"><a aria-label=\"Facebook\" class=\"heateor_sss_facebook\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-block-an-ip-address-or-a-domain-name-using-cpanel%2F\" title=\"Facebook\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg\" style=\"background-color:#0765FE;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"X\" class=\"heateor_sss_button_x\" href=\"https:\/\/twitter.com\/intent\/tweet?text=How%20to%20Block%20an%20IP%20Address%20or%20Domain%20in%20cPanel&url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-block-an-ip-address-or-a-domain-name-using-cpanel%2F\" title=\"X\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_x\" style=\"background-color:#2a2a2a;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg width=\"100%\" height=\"100%\" style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M21.751 7h3.067l-6.7 7.658L26 25.078h-6.172l-4.833-6.32-5.531 6.32h-3.07l7.167-8.19L6 7h6.328l4.37 5.777L21.75 7Zm-1.076 16.242h1.7L11.404 8.74H9.58l11.094 14.503Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"Linkedin\" class=\"heateor_sss_button_linkedin\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-block-an-ip-address-or-a-domain-name-using-cpanel%2F\" title=\"Linkedin\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin\" style=\"background-color:#0077b5;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path d=\"M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z\" fill=\"#fff\"><\/path><\/svg><\/span><\/a><\/div><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":28,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[880],"tags":[208,181],"class_list":["post-5477","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cpanel","tag-domain-name"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.3 (Yoast SEO v28.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Block an IP Address or Domain in cPanel<\/title>\n<meta name=\"description\" content=\"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.\" \/>\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.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Block an IP Address or Domain in cPanel\" \/>\n<meta property=\"og:description\" content=\"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Webhosting UK Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhostingukcom\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-29T10:49:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-03T11:31:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png\" \/>\n<meta name=\"author\" content=\"Victor G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Block an IP Address or Domain in cPanel\" \/>\n<meta name=\"twitter:creator\" content=\"@WebhostingUKcom\" \/>\n<meta name=\"twitter:site\" content=\"@WebhostingUKcom\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/\"},\"author\":{\"name\":\"Victor G\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\"},\"headline\":\"How to block an IP address or a domain name using cPanel\",\"datePublished\":\"2021-01-29T10:49:19+00:00\",\"dateModified\":\"2025-07-03T11:31:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/\"},\"wordCount\":536,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/111.png\",\"keywords\":[\"cPanel\",\"domain name\"],\"articleSection\":[\"cPanel &amp; WHM\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/\",\"name\":\"How to Block an IP Address or Domain in cPanel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/111.png\",\"datePublished\":\"2021-01-29T10:49:19+00:00\",\"dateModified\":\"2025-07-03T11:31:14+00:00\",\"description\":\"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/111.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/111.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to block an IP address or a domain name using cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"name\":\"Webhosting UK Knowledge Base\",\"description\":\"Expert Insights on Hosting, Development, Security, Marketing, and SEO\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"alternateName\":\"WHUK\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\",\"name\":\"Webhosting UK\",\"alternateName\":\"WHUK\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"width\":1200,\"height\":628,\"caption\":\"Webhosting UK\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/webhostingukcom\",\"https:\\\/\\\/x.com\\\/WebhostingUKcom\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/webhostinguk\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webhosting-uk-com-ltd\\\/\",\"https:\\\/\\\/www.instagram.com\\\/webhosting_uk\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@webhostinguk\"],\"description\":\"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.\",\"email\":\"sales@webhosting.uk.com\",\"telephone\":\"0800 862 0890\",\"legalName\":\"Webhosting UK\",\"foundingDate\":\"2001-02-07\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"51\",\"maxValue\":\"200\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\",\"name\":\"Victor G\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"caption\":\"Victor G\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Block an IP Address or Domain in cPanel","description":"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.","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.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"How to Block an IP Address or Domain in cPanel","og_description":"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.","og_url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/","og_site_name":"Webhosting UK Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/webhostingukcom","article_published_time":"2021-01-29T10:49:19+00:00","article_modified_time":"2025-07-03T11:31:14+00:00","og_image":[{"url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png","type":"","width":"","height":""}],"author":"Victor G","twitter_card":"summary_large_image","twitter_title":"How to Block an IP Address or Domain in cPanel","twitter_creator":"@WebhostingUKcom","twitter_site":"@WebhostingUKcom","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/"},"author":{"name":"Victor G","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297"},"headline":"How to block an IP address or a domain name using cPanel","datePublished":"2021-01-29T10:49:19+00:00","dateModified":"2025-07-03T11:31:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/"},"wordCount":536,"publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png","keywords":["cPanel","domain name"],"articleSection":["cPanel &amp; WHM"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/","url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/","name":"How to Block an IP Address or Domain in cPanel","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png","datePublished":"2021-01-29T10:49:19+00:00","dateModified":"2025-07-03T11:31:14+00:00","description":"Enhance security by blocking IP address or domain name in cPanel. Our guide provides instructions for access control and protection.","breadcrumb":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2021\/01\/111.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhosting.uk.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to block an IP address or a domain name using cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.webhosting.uk.com\/kb\/#website","url":"https:\/\/www.webhosting.uk.com\/kb\/","name":"Webhosting UK Knowledge Base","description":"Expert Insights on Hosting, Development, Security, Marketing, and SEO","publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"alternateName":"WHUK","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhosting.uk.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization","name":"Webhosting UK","alternateName":"WHUK","url":"https:\/\/www.webhosting.uk.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","width":1200,"height":628,"caption":"Webhosting UK"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhostingukcom","https:\/\/x.com\/WebhostingUKcom","https:\/\/www.youtube.com\/c\/webhostinguk","https:\/\/www.linkedin.com\/company\/webhosting-uk-com-ltd\/","https:\/\/www.instagram.com\/webhosting_uk\/","https:\/\/www.tiktok.com\/@webhostinguk"],"description":"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.","email":"sales@webhosting.uk.com","telephone":"0800 862 0890","legalName":"Webhosting UK","foundingDate":"2001-02-07","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}},{"@type":"Person","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297","name":"Victor G","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","caption":"Victor G"}}]}},"_links":{"self":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/5477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/comments?post=5477"}],"version-history":[{"count":17,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/5477\/revisions"}],"predecessor-version":[{"id":20063,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/5477\/revisions\/20063"}],"wp:attachment":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/media?parent=5477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/categories?post=5477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/tags?post=5477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}