Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

different address cloaking?

11:58 am on Jun 27, 2008 (gmt 0)

New User

10+ Year Member

joined:June 27, 2008
votes: 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?
12:23 pm on June 27, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

Yes if you have an Apache server.

There's a whole sub-forum devoted to many such similar issues.

However, are the two sites going to be similar or the same, of very different?

12:32 pm on June 27, 2008 (gmt 0)

New User

10+ Year Member

joined:June 27, 2008
votes: 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.
8:34 pm on June 29, 2008 (gmt 0)

New User

10+ Year Member

joined:June 29, 2008
votes: 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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members