Skip to content

Comment on Ask HN: How do you forward traffic based on country of origin?

Comments

Here is an interesting article on something similar: http://blog.unixy.net/2010/07/how-to-build-your-own-cdn-usin...

In this article, they actually have servers set up on the different continents, and users are served from a server nearest them. It wouldn't be too difficult to also serve them from the appropriate domain using redirects.

Keep the user experience in mind when you apply this, as there can be unintended side-effects. For example, as an American traveling abroad, I still like to see the US version of the site. It is very irritating when sites force me to the regional site based on IP address.

This happens with Google in particular. When I was in the Philippines a few months ago, it forced me to www.google.com.ph which is in Tagalog (you also see different results, likely based on what is popular in that country, and fewer search ads show because of targeting). GoDaddy as well detected I was in the Philippines, and forced my currency type to Philippine Pesos when I tried to buy a domain name, and only a call to support could fix it.

Make sure you give users a choice.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.