How Can We Help?

How to blacklist an IP Address to deny it access to your website?

You can lock the directory with a password by using the cPanel “Password Protected Directories” option.

1. Log into your cPanel account.
2. In the “Security” section, click on the “IP Blocker” Icon.
IP Blocker cPanel-websiteroof

3. Under “Add an IP or Range” you should enter the IP Address you wish to block.
4. Click on the “Add” button.
IP Blocker cPanel-websiteroof

Here is an example:
Single IP Address: 192.168.0.1
Range: 192.168.0.1-192.168.0.40
Implied Range: 192.168.0.1-40
CIDR Format: 192.168.0.1/32
Implies 10.*.*.* — 192.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous How to ban any IP Address via .htaccess?
Next How to disable directory browsing using .htaccess?
Table of Contents
Customers' reviews on Hostings.info Website Roof is listed on whtop.com Website Planet IPV6 Supported Secured by Imunify360