To Block an IP via IP Deny Manager in cPanel
IP Deny Manager allows you to block access to your site for one or more IP addresses. You can also ban fully qualified domain names (FQDNs).
To deny access to an IP address or range of IP addresses:
1. Login to cpanel of the domain. Click on IP Deny Manager under Security section.
2. Enter the IP address or range in the IP Address or Domain field.
3. Click Add.
You can enter IP addresses in any of five ways:
Single IP Address (Example: 10.5.3.333)
Range (Example: 10.5.3.3-10.5.3.40)
Implied Range (Example: 10.5.3.3-40)
CIDR Format (Example: 10.5.3.3/32)
Implied IP Address (Example: 10.)
Note:
======
10. as an implied IP address implies 10.*.*.*, where each * represents a positive whole number. If you enter 10., all IP addresses that begin with 10. will be blocked.
If you enter IP addresses directly to the .htaccess file, enter them in CIDR format only. Use of the range formats shown above as entries in the .htaccess file may cause problems.