This article will give you a step by step guide on how to deny an IP from accessing your website from your cPanel. Sign into your cPanel and follow these steps:
1) Scroll down to Security and click IP Deny Manager
2) Enter the IP address or domain you would like to block
You can use several formats to block IPs.
You may block single IP address’: 10.5.3.333
A range of IP address’: 10.5.3.3-10.5.3.40
An implied range: 10.5.3.5-40
CIDR format: 10.5.3.3/32
Or to imply 10.*.*.* you would put: 10.
3) Click Add
4) You will then get a confirmation that the IP has been blocked
This concludes how to deny an IP from accessing your website from your cPanel