{"id":663,"date":"2017-03-15T20:43:50","date_gmt":"2017-03-15T20:43:50","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=article&#038;p=663"},"modified":"2020-03-25T14:42:30","modified_gmt":"2020-03-25T14:42:30","slug":"how-to-block-an-ip","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/how-to-block-an-ip\/","title":{"rendered":"How to block an IP Address in cPanel"},"content":{"rendered":"<p>If you want to stop someone from visiting your website, you can use the<em>\u00a0<\/em><strong>IP Blocker<\/strong><em>\u00a0<\/em>interface within cPanel which allows you to block access to your site for one or more IP addresses or fully qualified domain names (<span class=\"twikiAnchorLink\">FQDNs<\/span>).<\/p>\n<p>You can easily block an IP in cPanel by following these steps:<\/p>\n<p><strong>1)\u00a0<\/strong><a href=\"https:\/\/chemicloud.com\/kb\/article\/login-cpanel-whm-account\/\">Log into cPanel<\/a>.<\/p>\n<p><strong>2)<\/strong> Look for the \u201c<b>SECURITY<\/b>\u201d section and click on\u00a0<strong>\u201cIP Blocker\u201d <\/strong>icon.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/ip_blocker_cpanel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-664\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/ip_blocker_cpanel.png\" alt=\"ip blocker cpanel\" width=\"960\" height=\"191\" \/><\/a><\/p>\n<p><strong>3)<\/strong> You can add a single IP, an IP range or a domain name to the block list, click the &#8220;Add&#8221; button to set the block.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/set_ip_block_cpanel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-665\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/set_ip_block_cpanel.png\" alt=\"set ip block cpanel\" width=\"729\" height=\"178\" \/><\/a><\/p>\n<p><strong>4)\u00a0<\/strong>If you scroll down on the same page, you&#8217;ll see a list of all the blocked IPs, from here you can also delete an IP from the block list.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/delete_ip_block_cpanel.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-666\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/delete_ip_block_cpanel-1024x175.png\" alt=\"delete ip block cpanel\" width=\"840\" height=\"144\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to stop someone from visiting your website, you can use the\u00a0IP Blocker\u00a0interface within cPanel which allows you to block access to your site for one or more IP addresses or fully qualified domain names (FQDNs). You can easily block an IP in cPanel by following these steps:&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[192],"ht-kb-tag":[],"class_list":["post-663","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-website-security"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":3,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/663\/revisions"}],"predecessor-version":[{"id":2097,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/663\/revisions\/2097"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=663"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}