Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2010
    Posts
    85

    limit visitors to reach the website

    Hello
    I want to limit my website visitors to few countries for examples sourceforge boycott iran to reach the download page
    i can do this with CSF firewall but i dot want to use it
    anyone know about other ways of this issue ?

    sorry for my bad english
    Best Regards

  2. #2
    If you only want a few countries to access the site you can block all access using /etc/hosts.deny and allowing only a few with /etc/hosts.allow

    Please note that hosts.allow / hosts.deny only apply to programs that use tcp_wrappers for connections to the linux host.

    Apache has it's own thing for doing what you want, http://httpd.apache.org/docs/2.0/mod/mod_access.html

  3. #3
    Join Date
    Jan 2011
    Location
    India
    Posts
    1,453
    many hosting company provide this services with each account i too have this services for my website so it will be better if you cantact them directly

  4. #4
    Join Date
    Aug 2010
    Location
    Indonesia
    Posts
    205
    Try to contact your hosting provider and ask for that services
    Resellerid.com
    Cheap & Powerfull Reseller Domain

    RESELLERID.COM | Affordable Domain Solution
    Reseller your domain and making profit

  5. #5
    Join Date
    Oct 2010
    Posts
    85
    Quote Originally Posted by humawebdesign View Post
    many hosting company provide this services with each account i too have this services for my website so it will be better if you cantact them directly
    Quote Originally Posted by Resellerid View Post
    Try to contact your hosting provider and ask for that services
    This Line means
    i can do this with CSF firewall but i dot want to use it
    i have my own server not share hosting

    so mod_access can help me to limit visitors by country ?
    I dont have the range of each country ip addresses
    what can i do ?

  6. #6
    Take a look here, http://ip.ludost.net/
    Just put the list of ISO country codes you want blocked and it will tell you the ip ranges you need to use.

  7. #7
    Join Date
    Oct 2007
    Location
    Hong Kong+Toronto
    Posts
    1,254
    Keep in mind that you might end up blocking a lot of legitimate traffic as well as these solutions are not 100% accurate, far from it

Similar Threads

  1. Multiple A records for website -- client does not reach web always?!
    By shunter1 in forum Hosting Security and Technology
    Replies: 9
    Last Post: 06-16-2009, 04:55 AM
  2. Can ping, can trace but cannot reach the website?
    By WebEditor in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-30-2008, 03:05 PM
  3. 3 Traffic names: 1229 visitors, 2838 visitors, 15 289 visitors
    By Johnnywj in forum Domain Name Offers
    Replies: 7
    Last Post: 03-28-2005, 10:37 AM
  4. 200,000+ visitors. Want to reach 18-35 year old market?
    By Artashes in forum Other Offers & Requests
    Replies: 5
    Last Post: 02-04-2005, 05:34 AM
  5. Guaranteed Website Visitors / 1000 Visitors $1.75
    By geesh.net in forum Other Offers & Requests
    Replies: 2
    Last Post: 03-02-2004, 06:28 AM

Posting Permissions

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