cPanel’s IP Blocker restricts web access from specified IP addresses. This guide explains how to add and remove an entry and what happens when you enter a domain name.

Add a block

  1. Identify the unwanted source address in reliable access logs. Check whether a proxy or CDN affects the address recorded by the web server.

  2. Open Security > IP Blocker in cPanel.

    IP blocker

  3. Under Add an IP or Range, enter the address or supported range. Examples using documentation-only IPv4 addresses are:

    • One address: 192.0.2.10.
    • A range: 192.0.2.10-192.0.2.20.
    • An implied range: 192.0.2.10-20.
    • A CIDR block: 192.0.2.0/24.
  4. Select Add and check the result.

    blocking is successful

  5. Review Currently-Blocked IP Addresses.

    Currently-Blocked IP Addresses

Remove a block

Find the exact entry, select Delete and confirm if prompted. Check the resulting list and test access.

Avoid unnecessarily broad ranges or your own management address. This web-access restriction does not replace a network firewall or protection against an attack that saturates the server’s connection.