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
-
Identify the unwanted source address in reliable access logs. Check whether a proxy or CDN affects the address recorded by the web server.
-
Open Security > IP Blocker in cPanel.

-
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.
- One address:
-
Select Add and check the result.

-
Review Currently-Blocked IP Addresses.

Entering a domain makes cPanel resolve it to an IP address to block. It does not filter a visitor by their domain name, and other sites or users sharing that IP may also be affected.
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.