{"id":5024,"date":"2023-11-09T11:40:00","date_gmt":"2023-11-09T10:40:00","guid":{"rendered":"https:\/\/harmonweb.com\/blog\/?p=5024"},"modified":"2023-11-20T18:41:57","modified_gmt":"2023-11-20T17:41:57","slug":"how-to-block-an-ip-address-in-cpanel","status":"publish","type":"post","link":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/","title":{"rendered":"How to Block an IP Address in cPanel"},"content":{"rendered":"\n<p>In this tutorial, we will learn how to block an IP address in cPanel.<\/p>\n\n\n\n<p>Everybody who visits your website has a unique identity tied to the device they are using. This unique identity is like an address that tells you the device that they are using, as well as other information related to the device. It is called the IP address.<\/p>\n\n\n\n<p>You can use the IP address to block a particular device user from having access to your website. It is very useful in keeping away users who you detect to be performing malicious activity while on your website.<\/p>\n\n\n\n<p>Using the<strong> IP Blocker <\/strong>on your website\u2019s cPanel, you can easily block an IP address or any number of IP addresses that you don\u2019t want accessing your website.<\/p>\n\n\n\n<p>Let&#8217;s get started in the guide, and you will learn how you can get that done.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How To Block an IP Address in cPanel\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Kb1BA2q9WQk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to block an IP address in cPanel<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First, you have to log into your website\u2019s cPanel. You can easily <a href=\"https:\/\/harmonweb.com\/blog\/how-to-login-to-my-cpanel-account-from-my-harmonweb-client-area\/\">log into your cPanel through the Harmon Web client area<\/a> or <a href=\"https:\/\/id.cpanel.net\/get\/login\">directly<\/a>.<\/li>\n\n\n\n<li>When you are logged in, go to the <strong>Security <\/strong>section and select <strong>IP Blocker<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"358\" src=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-7.png\" alt=\"security section in cpanel\" class=\"wp-image-5027\" srcset=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-7.png 841w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-7-300x128.png 300w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-7-768x327.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>On the new page, under <strong>Add an IP or Range<\/strong>, enter the IP address or IP range that you want to block in the <strong>IP Address or Domain <\/strong>text box. Then click on the <strong>Add <\/strong>button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"331\" src=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-8.png\" alt=\"block an ip address \" class=\"wp-image-5028\" srcset=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-8.png 728w, https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/image-8-300x136.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/figure>\n\n\n\n<p>You have now successfully blocked the IP address from accessing your website. Now, any attempt made using a device with that IP address to access your website won\u2019t be possible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will learn how to block an IP address in cPanel. Everybody who visits your&hellip;<\/p>\n","protected":false},"author":1,"featured_media":5026,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[158],"tags":[],"class_list":["post-5024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Block an IP Address in cPanel | HarmonWeb Blog<\/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:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-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 in cPanel | HarmonWeb Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will learn how to block an IP address in cPanel. Everybody who visits your&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"HarmonWeb Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-09T10:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-20T17:41:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Adegoke\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Adegoke\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/\"},\"author\":{\"name\":\"John Adegoke\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\"},\"headline\":\"How to Block an IP Address in cPanel\",\"datePublished\":\"2023-11-09T10:40:00+00:00\",\"dateModified\":\"2023-11-20T17:41:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/\"},\"wordCount\":278,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/BLOCKIPaddress.png\",\"articleSection\":[\"Troubleshooting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/\",\"name\":\"How to Block an IP Address in cPanel | HarmonWeb Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/BLOCKIPaddress.png\",\"datePublished\":\"2023-11-09T10:40:00+00:00\",\"dateModified\":\"2023-11-20T17:41:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/BLOCKIPaddress.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/BLOCKIPaddress.png\",\"width\":1280,\"height\":720,\"caption\":\"blocking an ip address in cpanel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-block-an-ip-address-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Block an IP Address in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"name\":\"HarmonWeb Blog\",\"description\":\"HarmonWeb\",\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\",\"name\":\"HarmonWeb\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"width\":831,\"height\":172,\"caption\":\"HarmonWeb\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\",\"name\":\"John Adegoke\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"caption\":\"John Adegoke\"},\"sameAs\":[\"https:\\\/\\\/harmonweb.com\\\/blog\"],\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/author\\\/harmonweb\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Block an IP Address in cPanel | HarmonWeb Blog","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:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Block an IP Address in cPanel | HarmonWeb Blog","og_description":"In this tutorial, we will learn how to block an IP address in cPanel. Everybody who visits your&hellip;","og_url":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/","og_site_name":"HarmonWeb Blog","article_published_time":"2023-11-09T10:40:00+00:00","article_modified_time":"2023-11-20T17:41:57+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png","type":"image\/png"}],"author":"John Adegoke","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Adegoke","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/"},"author":{"name":"John Adegoke","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc"},"headline":"How to Block an IP Address in cPanel","datePublished":"2023-11-09T10:40:00+00:00","dateModified":"2023-11-20T17:41:57+00:00","mainEntityOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/"},"wordCount":278,"commentCount":1,"publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png","articleSection":["Troubleshooting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/","url":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/","name":"How to Block an IP Address in cPanel | HarmonWeb Blog","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png","datePublished":"2023-11-09T10:40:00+00:00","dateModified":"2023-11-20T17:41:57+00:00","breadcrumb":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#primaryimage","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2023\/11\/BLOCKIPaddress.png","width":1280,"height":720,"caption":"blocking an ip address in cpanel"},{"@type":"BreadcrumbList","@id":"https:\/\/harmonweb.com\/blog\/how-to-block-an-ip-address-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/harmonweb.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Block an IP Address in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/harmonweb.com\/blog\/#website","url":"https:\/\/harmonweb.com\/blog\/","name":"HarmonWeb Blog","description":"HarmonWeb","publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/harmonweb.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/harmonweb.com\/blog\/#organization","name":"HarmonWeb","url":"https:\/\/harmonweb.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","width":831,"height":172,"caption":"HarmonWeb"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc","name":"John Adegoke","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","url":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","caption":"John Adegoke"},"sameAs":["https:\/\/harmonweb.com\/blog"],"url":"https:\/\/harmonweb.com\/blog\/author\/harmonweb\/"}]}},"_links":{"self":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/5024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/comments?post=5024"}],"version-history":[{"count":3,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/5024\/revisions"}],"predecessor-version":[{"id":5069,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/5024\/revisions\/5069"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media\/5026"}],"wp:attachment":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media?parent=5024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/categories?post=5024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/tags?post=5024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}