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

I have an eCommerce store and it sells digital downloads. The website is hosted in the US, but I have a large customer base that is outside the United States in different countries.

I know the hosting here will be fast for US customers, but how can I make it fast for viewers all around the world? Because when someone outside the US accesses the website, the request will always go to the US data center. Is it possible that when the site is accessed from outside US (e.g: UK), the request should go to UK (or nearest) data center?

If I buy different TLD's .co.uk, .com etc. for different countries (but should target same website), then is it possible that in UK, it should open .co.uk. I can achieve it using IP locator and redirect the user to the respective URL? But how does the request go to the nearest server?

Is it possible via CDN, cloud, cloud hosting, or something else? How can I achieve this goal?

share|improve this question
check into various CDN's (content delivery networks) – NRGdallas Jun 17 '13 at 19:58
I have checked but it seems that they provide service for static contents. Means I can save all my digitals, js, CSSs, images etc to CDN but I am not sure about this type of dynamic hosting service. – Anuj Rathi Jun 18 '13 at 6:22

What you ask for can be clearly delivered by a Content Delivery Network (CDN). A typical CDN does route requests to the nearest cached hosted version of your content on the CDN's network of servers.

Caching is mostly done for static content, but some CDN's also handle dynamic requests, such as delivering and executing PHP, database connections, etc.

For example, Amazon's Cloudfront is supposed to be able to handle dynamic content, as well as Akamai of course.

Personally, I can recommend Akamai, since that's what I use and works tremendously well for me (including dynamic content and video).

A good overview of what CDN's offer can be found via CDNPlanet.

share|improve this answer
thanks for writing up a full answer on CDN's, didn't have the time when I was writing my comment, and was hoping somebody would be able to answer it more in depth :)! – NRGdallas Jun 19 '13 at 16:53
thanks for your answer. I hope this will help me to sort out my problem. & many thanks for the CDN explanation. – Anuj Rathi Jun 25 '13 at 13:50

Your Answer


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.