How to Block IPs in cPanel
This feature will allow you to block a range of IP addresses to prevent them from accessing your site. You can also enter a fully qualified domain name, and the IP Deny Manager will attempt to resolve it to an IP address for you.
1. Login to cPanel to accomplish this task.
2. Navigate to the Security section and select IP Blocker.
3. Input the IP address or the domain name you want to block. The IP can be IPv4(eg. 192.168.0.1) or IPv6(eg. 2001:db8::1). It can also be a range. Click on the “Add” button to save your changes.
You can come back to this page later to manage your blocked IP addresses/domains.