How to block IP's 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 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

Accessing cPanel from a dynamic IP address

If you get logged out from cPanel and get an error The IP has changed, then it is possible that...

Difference between cPanel and WHM

WHM (WebHost Manager), provides administrative control of your dedicated server or VPS. It allows...

How can I check my website access logs?

Using Raw Access Logs menu in cPanel you can check the traffic coming to your website, before it...

How do I add an Apache handler?

1. Click on the “Apache handlers” link in Cpanel. (under the 'site management header.)2. Enter...

How do I add new email account to my hosting account?

Every AllNewISP.com linux hosting account comes with a cPanel as a control panel. You can create...

Powered by WHMCompleteSolution