Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

1 Answer 1

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.

http://aws.amazon.com/cloudfront/

share|improve this answer

Your Answer

 
discard

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