How to block IPs from accessing your website?

For automatic IP block cPanel provides special IP Deny Manager tool.   
                               
 1. Navigate to IP Deny Manager menu in cPanel

2. Enter the IP address that should be blocked to the ‘IP Address’ field and click on Add button.It will be added to the list of blocked IPs.

You can always unblock IP by clicking Remove next to the IP address in question

To block/allow access from a specific country, you need to list all IP subnetworks that belong to this country.This can be quite challenging for manual configuration, so it is recommended to use special online tools that have access to such country-specific IP databases. Example of such an online resource is

http://incredibill.me/htaccess-block-country-ips

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change MX records in Cpanel

You can check and change MX records for domains pointed to our hosting nameservers following...

How do I change my account password in Cpanel?

1. Click on 'Change Password' under the 'Site Management' header in Cpanel. 2. Enter your...

How to run Python scripts?

If you wish to run Python scripts in your hosting account, you can create and edit them in two...

I lost my control panel username and password what should I do?

If you have forgotten your username or password to the online Control Panel, please check your...

How do I update my contact information in c Panel?

To update your contact information in cPanel, you can use the Update Contact Information feature...

Powered by WHMCompleteSolution