< All Topics
Print

How would you blacklist an IP address to deny its access to your website?

A user can lock their directory with a password via the cPanel “Password Protected Directories” icon.

 

  • Sign in to your cPanel account.
  • Click ‘IP blocker’ in the security section

 

  • Find ‘Add an IP or range’, and enter the IP address you want to block
  • Press the ‘Add’ button

 

Check out the 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.

Scroll to Top