i am getting A LOT of visits, about 200 a day from one IP, and i am worried he is click bombing me, how do i ban him from my websites? thanks! EDIT: i have added the ip to my IP Deny Manager on my Cpanel... but the IP is visting one of my subdomains... would this still ban him? or is there a program i need to download?
If running on a Apache server IP can be banned via .htaccess file. Google .htaccess to check format. Basically you add line deny from ###.###.###.### See: http://www.freewebmasterhelp.com/tutorials/htaccess/2 or any other .htaccess tutorial.
nopes! it wont work if you turn off java script! i have given you a simplest way to ban IP! or you can try these php based IP banning Scripts! Read this Cool tutorial http://forum.dreamhosters.com/3rdparty/48909-URL-based-IP-ban-using-PHP-and-htaccess-automated.htm
ok cool, i have added the IP to the IP Deny Manager, i hope this works, i have emailed google, and how or where do i put that java script? thanks everyone so far!
Maybe he just like your site so much. but one visitor is nothing, you can banned him using .htaccess BAn IP address. <Files *> order deny,allow deny from all allow from 12.345.67.890 allow from .*domain\.com.* </Files> Code (markup): Or Deny or Allow Domain Access for a Specified IP Address Range <Files *> order allow,deny allow from all deny from 10.1.0.0/16 deny from 80.0.0/8 </Files> Code (markup): Put that .htaccess file in every subdomain you have.
Good to learn here how to do it using .htaccess but i would do differently through asp. I request everytime for the IP so I can block one IP very easily.