Msg#: 3685083 posted 11:58 am on Jun 27, 2008 (gmt 0)
I am wondering how to do this, I have two domain names pointing to one site one is a .com and other a .co.uk How can i send say, www.example.co.uk to the main site and www.example.com to a directory www.example.com/US ? Is it possible, fairly easily?
Msg#: 3685083 posted 12:32 pm on Jun 27, 2008 (gmt 0)
They will be similar, but not the same Well, actually they will be the same site as in domain server, but i want to serve different content to US visitors and Uk visitors, maybe later even more countries.... that s why i say, the site is up and running as main site .me.uk but i have .com address, that currently goes to same page/site, but virtually all visitors from US bounce immediately, so i am guessing i need to target US specifically.
Msg#: 3685083 posted 8:34 pm on Jun 29, 2008 (gmt 0)
if your host allows it, subdomains...
example here is what yahoo does. They send all www.yahoo.co.uk connections to uk.yahoo.com and us users just get www.yahoo.com
So putting one site into a sub-domain would solve part of the issue, you would need to have PHP or a CGI script or similar to do the redirection, you may even get away with using a .htaccess file to do the URL rewrites based on whats in the address bar.