How do I block an IP address using cPanel?
If there is an IP address you want to block from your website, you can do so inside cPanel. Here are the steps:
- Log into cPanel
- Under "Site Management", go to Ip Deny Manager.
- Under "Add an IP Deny:" enter in the IP address you wish to block.
- Click "Add".
You're all set! Now to remove the IP banning, all you need to do is remove the string it created in your .htaccess file or select it from the drop down menu on the Ip Deny Manager page.
The IP address you added to the banlist will not be able to access your website ever again!