- Aug 14, 2013
- cPanel Access Level
- Reseller Owner
The site of one of my hosting members is getting bombarded by a particular domain name. A typical access log entry is
The log shows about 60,000 - 80,000 hits per day so I would really like to stop that. I've tried adding deny from .server.domain.net and deny from .domain.net to the .htaccess file but it didn't make any difference, perhaps because the domain name does not resolve. I tried looking up its IP's and blocking those but I must not have gotten them all since it didn't make any difference. I tried adding some code on the site that checks the user agent and remote address entries in $_SERVER but if didn't catch any. Is there any way to stop this domain name from accessing the server?server.domain.net - - [13/Aug/2013:21:07:14 -0400] "GET /ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js HTTP/1.1" 200 4107 "http://www.domain_name_hidden.com/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)"