How do I Block an IP Address or Address Range in cPanel?
How to Block and Unblock IP Addresses from Accessing Your Site Using the cPanel IP Blocker
Although our Hosting packages have a firewall installed to detect potentially malicious behavior and automatically blocks those IP addresses. Sometimes you will only want to stop someone or stop their IP address from accessing your website which is most often done using .htaccess file.
cPanel also has a IP blocking feature to help create these rules for you.
How to Block an IP Address or Address Range
Login to your cPanel
Under section "Security" click on the IP Blocker icon.
Next enter the IP address or address range in the box and click Add
You should then see a confirmation screen like this:
You should now see the newly-added IP or range in the "Currently-Blocked" list:
If desired you can check your Websites .htaccess" file and see that the block was added
How to Unblock an IP Address or Address Range
This only works if cPanel's IP Blocker is how the IP was blocked in the first place, Otherwise the unblocking will need to be done another way.
Look in the list for the IP address or address range you would like to unblock, and click the Delete button in that row: