This forum is "programming theory" so I assume this is the most appropriate place to put this. (Admins or someone feel free to move this if the location is incorrect.)
The issue is that a site, example.com, loads slowly to international users because of its US-based host. So the thought is to buy...
example.co.uk
example.in
example.br
example.cn
... and host those domains on servers near the respective location. Or something like this.
So the question is... what's the best way to handle users getting to the right site from the right location? There are google results out there that sort of address this question, but I'm wondering what has worked for others, or what you've heard of working.
I think the solution will be to install a package on my server that can tell where the user is from, and to either redirect the user outright or to let them click a link to go to a more "local" version of the website.
Thoughts? Have you handled this? Howso?
Thanks