If there is an IP address you want to block from your website, you can do so inside Cpanel. Here are the steps:
1. Log into your Cpanel account.
2. Under “Site Management”, go to Ip Deny Manager.
3. Under “Add an IP Deny:” enter in the IP address you wish to block.
4. Click “Add”.
You’re all set! In case if you need 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.
Note: NEVER block your own IP address!
Last Update: May 5, 2018