To administer your WestHost account, please enter your
Domain Name or Server Manager Username.

WestHost: Professional Website Hosting Company








Results 1 to 5 of 5
  1. #1

    Default blocking a domain from visiting my server

    hello wizards -

    due to virus-like activity, i have actually started to monitor the apache logs.

    in my access_log file, i see regular visits from

    iraq-technology-dot-net

    unfortunately, every time it visits me, it uses a different IP number.

    any idea how i can block this domain from visiting me?

    thanks!

  2. #2

    Default

    Are all of the IP's coming from Iraq as well? You can run the IP's through a site like this one in order to tell: http://www.iplocation.net/.

    If so, and if you are not getting legitimate traffic from Iraq, you could use http://www.countryipblocks.net/ in order to block the range of IP's from Iraq. I would recommend choosing the .htaccess deny method, and then entering in the range of IP's it gives you into a .htaccess file in the document root of your website.
    Nathan Collings
    Level 2 Technical Support Rep

    http://www.westhost.com/

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    7

    Default

    you could use a .htaccess file to block by referrer and/or user agent (as well as other things).
    Last edited by wildplum; 06-03-2012 at 01:55 PM.

  4. #4
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,676

    Default

    I think you meant .htaccess file. That is what Nathan was speaking of in his post.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  5. #5
    Junior Member
    Join Date
    Mar 2012
    Posts
    7

    Default

    yes, wildjoker, i did- thanks for pointing out my error. as usual, your dedication and attentiveness is very much appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •