< All Topics

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:
Implied Range:
CIDR Format:
Implies 10.*.*.* — 192.

Scroll to Top