Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For example, I have a domain - "gog.com". And I wonna some customers from one country - be serviced by one server, and anothers by another server. Is it possible, without changing domain name?

share|improve this question
    
When you say servers, do you mean web servers? –  John Gardeniers Feb 25 '10 at 12:39
    
I mean different IPs and different datacenters and different servers. Yes, its web servers. –  dynback.com Feb 25 '10 at 13:29
add comment

2 Answers 2

You could use a GeoIP service such as http://www.maxmind.com/app/ip-location to find the user's location and redirect them to their local server. If you use URL masking on your domain name they'll not see the redirection.

share|improve this answer
    
what do you mean redirect? "URL Masking the Domain Forwarding server sends the client a Frames page where the Frame Source contains the destination URL you have specified" - if this is what you saying, than its not accepted solution(( –  dynback.com Feb 25 '10 at 13:41
add comment

As Khal suggested, you can use a GeoIP service to detect the users origin and then redirect them to their appropriate server. One option might be to have three server names www.gog.com, www.region1.gog.com and www.region2.gog.com. Requests hitting www.gog.com are redirected based on their origin to either www.region1.gog.com or www.region2.gog.com (with the redirection being indicated to the browser). This way, you'll need to do the redirection only on the first request and all subsequent requests can directly be served from the appropriate server.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.