Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormista3
    • CommentTimeApr 23rd 2007 edited
     permalink
    What's the best way to redirect visitors to different servers, depending on their location? Can it be done via IIS?

    I'm assuming this would be better than having it on the index page of a site itself?

    Basically I've got a server in the UK, and a mirror of it in Asia, and want to redirect people to the closest version of the site!

    A few possible solutions I've found so far, neither of which seem to be server-side:

    1. http://www.ip2location.com/ip-country.aspx

    2. http://georedirect.com/
    •  
      CommentAuthorkari.patila
    • CommentTimeApr 23rd 2007 edited
     permalink
    I haven't a clue whether or not this is the most practical way to go, but I used an ip-to-country.csv file and compared that to the user's IP, which in turn was returned by a php function.

    It works pretty well when I need to automatically set the language settings to German, Finnish or English, depending on where the user is coming from.

    I could email a .zip for you, if you'd like. At the very least you can decide if that's the way to go or not.
    • CommentAuthormista3
    • CommentTimeApr 23rd 2007
     permalink
    That would be great!

    My email is just 3stripe @ the mail service run by the nice people at Google

    Thanks in advance
    • CommentAuthorMatt
    • CommentTimeApr 23rd 2007
     permalink
    http://isapilabs.com/Products/CountryLocator/index.htm

    Haven't used, but heard about it a while back.
Add your comments
    Username Password
  • Format comments as (Help)