{"id":179,"date":"2021-06-21T10:12:27","date_gmt":"2021-06-21T10:12:27","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=179"},"modified":"2021-06-21T11:23:50","modified_gmt":"2021-06-21T11:23:50","slug":"how-to-block-an-ip-address-or-a-domain-name-using-cpanel","status":"publish","type":"post","link":"https:\/\/ownwebservers.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":"<p>This tutorial will explain how to block an IP addresses and domain names using the cPanel IP Blocker tool.<\/p>\n<p>Blocking an IP address or domain name can improve website security as it prevent hacking and DDoS attacks. It can also block other unwanted visitors.<\/p>\n<p><strong>Follow these steps, To block an IP address or domain name :<\/strong><\/p>\n<p>1. First, make sure you know the IP address or the domain name that you wish to block.<\/p>\n<p>2. Log in to\u00a0<strong>cPanel<\/strong>.<\/p>\n<p>3. Scroll to the\u00a0<strong>Security<\/strong>\u00a0section and click\u00a0<strong>IP Blocker<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-180\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-1-300x117.png\" alt=\"domain-1\" width=\"369\" height=\"144\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-1-300x117.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-1.png 369w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/p>\n<p>4. In the IP Blocker dashboard, type the IP address or domain name in the\u00a0<strong>Add an IP or Range<\/strong>\u00a0field.<\/p>\n<p>You can also enter an IP range to block a range of IP addresses. Take a look at the bottom of page for the correct format.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-181\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-2-300x145.png\" alt=\"domain-2\" width=\"619\" height=\"299\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-2-300x145.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-2.png 619w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/p>\n<p>5. Check you have entered the IP address or domain name correctly and then click the\u00a0<strong>Add<\/strong>\u00a0button. You will then see the following notification:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-182\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-3-300x107.png\" alt=\"domain-3\" width=\"559\" height=\"199\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-3-300x107.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-3.png 559w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>6. When you return to the IP Blocker dashboard, you will see the IP address or domain name listed in the\u00a0<strong>Currently-Blocked IP Addresses<\/strong>\u00a0table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-183\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-4-300x43.png\" alt=\"domain-4\" width=\"938\" height=\"135\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-4-300x43.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-4-768x111.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-4.png 938w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/p>\n<p>7. If you wish to\u00a0<strong>unblock<\/strong>\u00a0an IP address or domain name, simply click\u00a0<strong>Delete\u00a0<\/strong>in the<strong>\u00a0Actions\u00a0<\/strong>column of the table.<\/p>\n<p><strong>More about Information: IP addresses, IP range and domain name formats<\/strong><\/p>\n<p>Here are the correct formats to use with IP Blocker:<\/p>\n<p>Single IP Address \u2013 in single IP address to block an IP address, the standard IP format of four sets of numbers is used, each is separated by a dot. For example, 193.166.0.2<\/p>\n<p>Range \u2013 In range of IP addresses you can block IP addresses by listing 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>\n<p>Implied Range \u2013 In Implied Range, there is a shorthand way to input a range. For example: 193.166.0.2-50<\/p>\n<p>Implied IP address \u2013In Implied IP address a truncated version of an IP address to bulk block all IP addresses is used, that follow the last used dot. For example, inputting 193. will block all IP addresses starting with 193. Similarly, inputting 193.166. will block all IP addresses beginning with 193.166.<\/p>\n<p>Domain name \u2013 Domain name uses the domain name e.g. website.com. You will not need to input the full URL. When this put in , IP Blocker will try to find the domain\u2019s IP address for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will explain how to block an IP addresses and domain names using the cPanel IP Blocker tool. Blocking an IP address or domain name can improve website security as it prevent hacking and DDoS attacks. It can also block other unwanted visitors. Follow these steps, To block an IP address or domain name [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Block an IP address or a Domain Name Using cPanel - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Block an IP address or a Domain Name Using cPanel - OWS KB\" \/>\n<meta property=\"og:description\" content=\"This tutorial will explain how to block an IP addresses and domain names using the cPanel IP Blocker tool. Blocking an IP address or domain name can improve website security as it prevent hacking and DDoS attacks. It can also block other unwanted visitors. Follow these steps, To block an IP address or domain name [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-21T10:12:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-21T11:23:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-1-300x117.png\" \/>\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=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/06\/domain-1.png\",\"width\":369,\"height\":144,\"caption\":\"domain-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\",\"name\":\"How to Block an IP address or a Domain Name Using cPanel - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#primaryimage\"},\"datePublished\":\"2021-06-21T10:12:27+00:00\",\"dateModified\":\"2021-06-21T11:23:50+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-block-an-ip-address-or-a-domain-name-using-cpanel\/\",\"name\":\"How to Block an IP address or a Domain Name Using cPanel\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":7,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/179\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}