How to block an IP address from your website Print

  • security, ip, block
  • 0

If a particular visitor or bot keeps causing trouble on your website, you can block their IP address.

  1. Sign in to cPanel and open IP Blocker.
  2. In IP Address or Domain, type what you want to block.
  3. Click Add.

What you can enter

  • A single address, for example 192.168.0.1
  • A range, for example 192.168.0.1-192.168.0.40
  • A shortened range, for example 192.168.0.1-40
  • CIDR format, for example 192.168.0.1/32
  • The start of an address, for example 192. to block everything that begins with 192
  • A domain name. cPanel looks up its address for you.

See or remove blocks

The Currently-Blocked IP Addresses table shows each block. Use its Actions column to remove one.

Be careful not to block your own address or a very wide range. If you cannot reach your own website afterwards, ask us for help.


Was this answer helpful?

« Back