{"id":35296,"date":"2026-08-18T08:18:47","date_gmt":"2026-08-18T08:18:47","guid":{"rendered":"https:\/\/1grid.co.za\/knowledge\/?post_type=ht_kb&#038;p=35296"},"modified":"2026-08-18T08:18:50","modified_gmt":"2026-08-18T08:18:50","slug":"block-allow-ip-addresses-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/","title":{"rendered":"How to Block or Allow IP Addresses Using IP Blocker in cPanel with 1-grid"},"content":{"rendered":"\n<h4 id=\"htoc-prevent-specific-ip-addresses-or-networks-from-accessing-your-website-to-mitigate-malicious-traffic\" class=\"wp-block-heading\">Prevent specific IP addresses or networks from accessing your website to mitigate malicious traffic.<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will help you use the IP Blocker feature in cPanel to prevent specific IP addresses or networks from accessing your website. Whether you&#8217;re dealing with suspicious traffic, unwanted visitors, spam activity, or repeated login attempts, IP Blocker provides a simple way to restrict access and improve website security. The process is reversible, takes only a few minutes, and does not modify your website files or content on your 1-grid Customer Zone hosting account.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"600\" src=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-58.png\" alt=\"How to Block or Allow IP Addresses in cPanel | 1-grid \" class=\"wp-image-35297\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-ht-block-toc is-style-rounded htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">Table of Contents<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-before-you-begin\">Before You Begin<\/a><\/li><li class=\"\"><a href=\"#htoc-follow-these-steps\">Follow These Steps<\/a><ul class=\"ht_toc_child_list\"><\/ul><\/li><li class=\"\"><a href=\"#htoc-what-happens-next\">What Happens Next?<\/a><\/li><li class=\"\"><a href=\"#htoc-important-things-to-know\">Important Things to Know<\/a><\/li><li class=\"\"><a href=\"#htoc-common-mistakes-to-avoid\">Common Mistakes to Avoid<\/a><\/li><li class=\"\"><a href=\"#htoc-if-this-didn-t-work\">If This Didn&#8217;t Work<\/a><\/li><li class=\"\"><a href=\"#htoc-you-re-ready\">You\u2019re Ready!<\/a><\/li><li class=\"\"><a href=\"#htoc-related-articles\">Related Articles<\/a><\/li><li class=\"\"><a href=\"#htoc-need-help\">Need Help?<\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-before-you-begin\" class=\"wp-block-heading\">Before You Begin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before restricting network access via cPanel, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-access-to-your-1-grid-client-portal\">Access to your <strong>1-grid Customer Zone<\/strong><\/li>\n\n\n\n<li id=\"htoc-an-active-legacy-web-hosting-account-using-cpanel\">An active legacy web hosting account using <strong>cPanel<\/strong><\/li>\n\n\n\n<li id=\"htoc-the-specific-domain-name-you-want-to-protect\">The specific <strong>domain name<\/strong> you want to protect<\/li>\n\n\n\n<li id=\"htoc-the-exact-ip-address-or-network-range-you-intend-to-block-1-2-3\">The exact <strong>IP address or network range<\/strong> you intend to block<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1<em><strong> Important:<\/strong> Every visitor connecting to your website uses an <a href=\"https:\/\/1grid.co.za\/knowledge\/everything-you-need-to-know-about-an-ip-address\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>IP address<\/strong><\/a>. IP blocking is one layer of website security and works best when combined with strong passwords, updated software, and other security measures.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-follow-these-steps\" class=\"wp-block-heading\">Follow These Steps<\/h2>\n\n\n\n<h4 id=\"htoc-1-open-cpanel\" class=\"wp-block-heading\">1. Open cPanel<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/1grid.co.za\/knowledge\/customer-zone-how-do-i-log-in\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log in<\/a> <\/strong>to your <a href=\"https:\/\/1-grid.com\/client\/index.php?rp=\/login\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>1-grid Customer Zone<\/strong><\/a>, locate the web hosting service associated with your domain, and select <strong>Login to cPanel<\/strong>.<\/p>\n\n\n\n<h4 id=\"htoc-2-open-ip-blocker\" class=\"wp-block-heading\">2. Open IP Blocker<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In your cPanel dashboard interface, scroll down to the <strong>Security<\/strong> cluster section and click <strong>IP Blocker<\/strong>. This will open the management module for custom firewalls.<\/p>\n\n\n\n<h4 id=\"htoc-3-add-an-ip-address-or-range\" class=\"wp-block-heading\">3. Add an IP Address or Range<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>IP Address or Domain<\/strong> field, enter the network criteria you want to block. The module supports the following formats:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-single-ip-address-e-g-10-5-3-33\"><strong>Single IP Address:<\/strong> e.g., <code>10.5.3.33<\/code><\/li>\n\n\n\n<li id=\"htoc-full-ip-range-e-g-10-5-3-3-10-5-3-40\"><strong>Full IP Range:<\/strong> e.g., <code>10.5.3.3-10.5.3.40<\/code><\/li>\n\n\n\n<li id=\"htoc-shortened-range-e-g-10-5-3-3-40\"><strong>Shortened Range:<\/strong> e.g., <code>10.5.3.3-40<\/code><\/li>\n\n\n\n<li id=\"htoc-cidr-format-e-g-10-5-3-3-32\"><strong>CIDR Format:<\/strong> e.g., <code>10.5.3.3\/32<\/code><\/li>\n\n\n\n<li id=\"htoc-wildcard-range-e-g-10-important-entering-10-blocks-every-ip-beginning-with-10-1-2-3-4-5\"><strong>Wildcard Range:<\/strong> e.g., <code>10.<\/code> <em>(Important: Entering <code>10.<\/code> blocks every IP beginning with 10.*.*.*).<\/em><\/li>\n<\/ul>\n\n\n\n<h4 id=\"htoc-4-save-the-block\" class=\"wp-block-heading\">4. Save the Block<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Click the <strong>Add<\/strong> button. Wait for the green system confirmation alert to display. The rule is now applied, and the network profile is active on your blocked list.<\/p>\n\n\n\n<h4 id=\"htoc-5-view-blocked-ip-addresses\" class=\"wp-block-heading\">5. View Blocked IP Addresses<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Scroll down to the <strong>Currently Blocked IP Addresses<\/strong> section table. Here you can verify the rule parameters, including the Server Setting (CIDR format), Beginning IP, and Ending IP configurations.<\/p>\n\n\n\n<h4 id=\"htoc-6-remove-a-blocked-ip-address\" class=\"wp-block-heading\">6. Remove a Blocked IP Address<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you need to restore network access for an address or range:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-locate-the-target-line-item-under-currently-blocked-ip-addresses\">Locate the target line item under <strong>Currently Blocked IP Addresses<\/strong>.<\/li>\n\n\n\n<li id=\"htoc-click-the-delete-button-next-to-the-entry\">Click the <strong>Delete<\/strong> button next to the entry.<\/li>\n\n\n\n<li id=\"htoc-confirm-the-prompt-by-selecting-remove-ip-to-instantly-drop-the-firewall-rule-1-2-3\">Confirm the prompt by selecting <strong>Remove IP<\/strong> to instantly drop the firewall rule.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-what-happens-next\" class=\"wp-block-heading\">What Happens Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once saved, cPanel updates its server configurations immediately to block matching incoming traffic requests.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-immediate-drops-blocked-connections-will-receive-a-standard-access-denied-message\"><strong>Immediate Drops:<\/strong> Blocked connections will receive a standard access denied message.<\/li>\n\n\n\n<li id=\"htoc-review-protocol-before-leaving-the-dashboard-confirm-you-have-not-blocked-your-own-ip-record-why-the-rule-was-created-and-monitor-your-how-to-view-website-visitor-logs-to-verify-traffic-drop-metrics-1-2-3\"><strong>Review Protocol:<\/strong> Before leaving the dashboard, confirm you have not blocked your own IP, record why the rule was created, and monitor your How to View Website Visitor Logs to verify traffic drop metrics.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-important-things-to-know\" class=\"wp-block-heading\">Important Things to Know<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-changes-take-effect-quickly-most-server-level-access-rules-deploy-almost-immediately-across-our-network-cluster\"><strong>Changes Take Effect Quickly:<\/strong> Most server-level access rules deploy almost immediately across our network cluster.<\/li>\n\n\n\n<li id=\"htoc-blocking-is-reversible-access-rules-can-be-managed-modified-or-dropped-entirely-at-any-point-1\"><strong>Blocking Is Reversible:<\/strong> Access rules can be managed, modified, or dropped entirely at any point.<\/li>\n\n\n\n<li id=\"htoc-be-careful-with-ip-ranges-blanket-blocking-large-ranges-or-wildcards-may-unintentionally-block-real-legitimate-consumers-or-local-lookup-bots-1\"><strong>Be Careful with IP Ranges:<\/strong> Blanket blocking large ranges or wildcards may unintentionally block real, legitimate consumers or local lookup bots.<\/li>\n\n\n\n<li id=\"htoc-dynamic-ip-addresses-exist-many-internet-service-providers-regularly-cycle-subscriber-ip-addresses-meaning-a-malicious-entity-could-reconnect-later-using-a-completely-different-configuration-string-1-2\"><strong>Dynamic IP Addresses Exist:<\/strong> Many internet service providers regularly cycle subscriber IP addresses, meaning a malicious entity could reconnect later using a completely different configuration string.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-common-mistakes-to-avoid\" class=\"wp-block-heading\">Common Mistakes to Avoid<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-accidentally-blacklisting-your-own-local-home-or-office-ip-address\">Accidentally blacklisting your own local home or office IP address.<\/li>\n\n\n\n<li id=\"htoc-blocking-massive-regional-network-blocks-unnecessarily-instead-of-target-addresses\">Blocking massive regional network blocks unnecessarily instead of target addresses.<\/li>\n\n\n\n<li id=\"htoc-assuming-basic-ip-blocker-rules-stop-application-level-exploits-or-malicious-code-injections\">Assuming basic IP blocker rules stop application-level exploits or malicious code injections.<\/li>\n\n\n\n<li id=\"htoc-inputting-typos-or-invalid-sub-net-configurations-into-the-text-fields\">Inputting typos or invalid subnet configurations into the text fields.<\/li>\n\n\n\n<li id=\"htoc-leaving-temporary-event-blocks-running-indefinitely-after-resolving-a-live-problem-1-2\">Leaving temporary event blocks running indefinitely after resolving a live problem.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-if-this-didn-t-work\" class=\"wp-block-heading\">If This Didn&#8217;t Work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Should a blocked user continue accessing your public pages, they may be utilising a Virtual Private Network (VPN), proxy pool, or mobile cellular data tower. If the server module throws an execution error, verify your hosting tier properties or check for global security profile conflicts before re-submitting.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-you-re-ready\" class=\"wp-block-heading\">You\u2019re Ready!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You have successfully deployed custom server-level access rules using the cPanel IP Blocker. Many website security concerns can be reduced with simple access controls, giving you direct control over who can look up your digital assets.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-theme-default-background-color has-background wp-element-button\" href=\"https:\/\/1-grid.com\/client\/index.php?rp=\/login\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Log In to Customer Zone &amp; Manage IP Blocks Now<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-related-articles\" class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-how-to-secure-your-website-in-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-use-the-ip-address-blocker-in-cpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Use the IP Address Blocker in cPanel<\/strong><\/a><\/li>\n\n\n\n<li id=\"htoc-1\"><a href=\"https:\/\/1grid.co.za\/knowledge\/security-blocking-ip-addresses-and-countries-using-htaccess\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Security: Blocking IP Addresses and Countries using .htaccess<\/strong><\/a><\/li>\n\n\n\n<li id=\"htoc-how-to-password-protect-a-directory-in-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/cpanel-how-to-password-protect-a-directory\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Password Protect a Directory in cPanel<\/strong><\/a><\/li>\n\n\n\n<li id=\"htoc-how-to-configure-ssl-certificates\"><a href=\"https:\/\/1grid.co.za\/knowledge\/why-ssl-the-purpose-of-using-ssl-certificates\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Why SSL with 1-grid? The Purpose of Using SSL Certificates<\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-need-help\" class=\"wp-block-heading\">Need Help?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your access parameters fail to load or you accidentally lock yourself out of your dashboard, <a href=\"https:\/\/1grid.co.za\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>contact us<\/strong><\/a>. Our support team is available to assist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To help us investigate, please provide:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-your-primary-domain-name-and-hosting-service-plan\">Your primary <strong>domain name<\/strong> and hosting service plan<\/li>\n\n\n\n<li id=\"htoc-the-explicit-ip-address-string-you-are-attempting-to-modify\">The explicit <strong>IP address string<\/strong> you are attempting to modify<\/li>\n\n\n\n<li id=\"htoc-a-screenshot-of-your-ip-blocker-settings-page\">A <strong>screenshot of your IP Blocker settings page<\/strong><\/li>\n\n\n\n<li id=\"htoc-the-approximate-time-the-network-issue-occurred\">The approximate time the network issue occurred<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Prevent specific IP addresses or networks from accessing your website to mitigate malicious traffic. This guide will help you use the IP Blocker feature in cPanel to prevent specific IP addresses or networks from accessing your website. Whether you&#8217;re dealing with suspicious traffic, unwanted visitors, spam activity, or repeated login&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1198,1190],"ht-kb-tag":[238,1852,1969,1968,1970,1967,1667],"class_list":["post-35296","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel","ht_kb_category-web-security","ht_kb_tag-cpanel","ht_kb_tag-hosting-management","ht_kb_tag-ip-blocker","ht_kb_tag-network-security","ht_kb_tag-spam-protection","ht_kb_tag-traffic-management","ht_kb_tag-website-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Block or Allow IP Addresses in cPanel | 1-grid<\/title>\n<meta name=\"description\" content=\"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Block or Allow IP Addresses in cPanel | 1-grid\" \/>\n<meta property=\"og:description\" content=\"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-18T08:18:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-58.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/\",\"name\":\"How to Block or Allow IP Addresses in cPanel | 1-grid\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2026-08-18T08:18:47+00:00\",\"dateModified\":\"2026-08-18T08:18:50+00:00\",\"description\":\"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Block or Allow IP Addresses Using IP Blocker in cPanel with 1-grid\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Block or Allow IP Addresses in cPanel | 1-grid","description":"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.","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:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/","og_locale":"en_US","og_type":"article","og_title":"How to Block or Allow IP Addresses in cPanel | 1-grid","og_description":"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.","og_url":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2026-08-18T08:18:50+00:00","og_image":[{"url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-58.png"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/","url":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/","name":"How to Block or Allow IP Addresses in cPanel | 1-grid","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2026-08-18T08:18:47+00:00","dateModified":"2026-08-18T08:18:50+00:00","description":"Learn how to block or allow IP addresses in cPanel using the IP Blocker tool to protect your website from suspicious traffic and spam bots.","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-block-or-allow-ip-addresses-using-ip-blocker-in-cpanel-with-1-grid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to Block or Allow IP Addresses Using IP Blocker in cPanel with 1-grid"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=35296"}],"version-history":[{"count":1,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35296\/revisions"}],"predecessor-version":[{"id":35298,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35296\/revisions\/35298"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=35296"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=35296"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=35296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}