Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have two web frontends. one in Dallas, one in London. How can I best route traffic from the US to Dallas, and abroad to London?

share|improve this question

migrated from stackoverflow.com Aug 21 '11 at 16:00

This question came from our site for professional and enthusiast programmers.

Don't bother, just use a CDN that routes your static requests geographically, and serve up your actual website (the .index.php for instance) at which ever location you wish.

You could use a load balancer for redundancy but I don't think that you need to pay that much attention to the actual location of the server script. It is the web resources and static assets where you need to geo-serve which can be done by any CDN such as CloudFront on Amazon.


share|improve this answer

Your Answer


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