How to Ban Visitors from any Country or IPs to visit a site ? I hv tried adding Banned IPs on .htaccess and uploading them on server. and also using IP deny Manager, but itz not working Can uy plz let us know if there as any other tested ways...
Check with the hosting provider and see if they can add that IP range to the server firewall. Is there a way to add the IP range to the host.deny file? Are you running some kind of content management system or forum? Some CMSs and forums have a built in IP deny feature. If you have tried using the IP deny manager in CPAnel, you may want to submit a trouble ticket to tech support. Because that feature should work.
If you have server root access you can block IP from server as well here are the command to block and unblock the particular IP via putty TO BLOCK IP iptables -I INPUT -s 111.111.111.111 -j DROP TO UNBLOCK IP iptables -D INPUT -s 111.111.111.111 -j DROP This command will drop the request which is comming to the server from and particular IP This will help for sure