View Categories

How to block an IP address from your website

< 1 min read

Learn how to blacklist an IP address using cPanel’s ‘IP Blocker’ feature to enhance the security of your website, by preventing unwanted access.

To blacklist an IP address and deny access to your website, follow these steps:

  • Log in to your cPanel account.
  • In the “Security” section, locate and click on the “IP Blocker” icon.

 

  • Under the “Add an IP or Range” section, enter the IP address you want to block.
  • Click the “Add” button.

 

Here are some examples of how to input IP addresses:

Single IP Address: 192.168.0.1
IP 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.)

By following these steps, you can effectively blacklist the specified IP address and prevent it from accessing your website.