Use the IP Blocker interface to prevent access to your site from a range of IP addresses. If you enter a fully qualified domain name, this feature will attempt to resolve it to an IP address.
(Home >> Security >> IP Blocker)
The IP Blocker interface allows you to block access to your site for one or more IP addresses or fully qualified domain names (FQDNs).
Note: If you enter IP addresses directly into the
.htaccess file, enter them in CIDR format only.
To deny access to an IP address or range of IP addresses, perform the following steps:
CIDR format (for example,
Implied IP address (for example,
10. as an implied IP address implies
10.*.*.*, where each
* represents a positive whole number. If you enter
10., the system blocks access to any IP address that begin with
cPanel separates the IP address ranges that you enter into subnets in CIDR format. The system then adds them to the
.htaccess file. The interface will display blocked IP addresses and ranges in CIDR notation.
For example, if you enter the range
188.8.131.52-184.108.40.206, the Currently-Blocked IP Addresses table will appear similar to the following example:
To remove an IP address from the list of blocked IP addresses, perform the following steps: