{"id":7885,"date":"2026-02-09T09:06:02","date_gmt":"2026-02-09T09:06:02","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=7885"},"modified":"2026-02-09T09:06:02","modified_gmt":"2026-02-09T09:06:02","slug":"restricting-ip-addresses-on-agency-hosting","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/restricting-ip-addresses-on-agency-hosting\/","title":{"rendered":"Restricting IP addresses on Agency hosting"},"content":{"rendered":"<p><span style=\"font-weight: 400\">IP address restriction allows you to control who can access your website by blocking or allowing specific IP addresses. This security feature helps protect your site from malicious traffic, unauthorized access attempts, and unwanted visitors.<\/span><\/p><h2 id=\"h-what-is-ip-address-restriction\"><b>What is IP address restriction?<\/b><\/h2><p><span style=\"font-weight: 400\">IP address restriction is a security measure that blocks or permits access to your website based on the visitor&rsquo;s IP address. When you block an IP address, any requests from that address will be denied access to your site.<\/span><\/p><p><b>Common use cases:<\/b><\/p><ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Blocking malicious bots and scrapers<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Preventing brute force login attempts<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Stopping spam submissions<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Restricting access during site development<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Blocking traffic from specific regions or competitors<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Protecting against DDoS attacks<\/span><\/li>\n<\/ul><h2 id=\"h-how-to-block-ip-addresses\"><b>How to block IP addresses<\/b><\/h2><h3><span style=\"font-weight: 400\">Use <\/span><b>IP<\/b> <b>blacklist<\/b><span style=\"font-weight: 400\"> feature in hPanel:<\/span><\/h3><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to <\/span><b>Security<\/b><span style=\"font-weight: 400\"> section in your website dashboard<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>IP Blacklist<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7886 size-full\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-1.png\" alt=\"\" width=\"466\" height=\"376\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-1.png 466w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-1-300x242.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><br>\n<\/b><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Add IP addresses you want to block<br>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7869 size-full\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist.png\" alt=\"\" width=\"2000\" height=\"362\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist.png 2000w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-300x54.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-1024x185.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-768x139.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/ip-blacklist-1536x278.png 1536w\" sizes=\"auto, (max-width: 2000px) 100vw, 2000px\" \/><br>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Save changes by clicking <strong>Add IP address<\/strong> button<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>IP address restriction allows you to control who can access your website by blocking or allowing specific IP addresses. This security feature helps protect your&#8230;<\/p>\n","protected":false},"author":596,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[294],"tags":[],"class_list":["post-7885","post","type-post","status-publish","format-standard","hentry","category-agency-hosting-plans"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=7885"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7885\/revisions"}],"predecessor-version":[{"id":7888,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7885\/revisions\/7888"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=7885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=7885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=7885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}