With cPanel you can block certain IPs from accessing your site. This is useful if your site is trying to be hacked or created DDOS attacks

To block IPs, go to "Security → IP Blocking ".

file

In the new window that opens, type in the desired IP address or full domain name and block it.

file

click the "Add " button.

When the process is complete, the blocked IP address will be displayed in the section "Current blocked IP addresses ".

file

To remove an IP address from the list, just click on the "Delete" button next to it.

Updated April 17, 2019