Forum Moderators: phranque

Message Too Old, No Replies

Content Negotiation?

How to mirror SAME website on different domains?

         

craig1972

2:40 am on Feb 19, 2007 (gmt 0)

10+ Year Member



Hi,

I have domain.com, domain.jp, domain.cn, domain.ca etc. I would like the same website to appear when any of those domains are entered, which is easy if I point the domains to the same DNS, but I would like the hosting to be local (i.e. in Japan for jp, in US for com, etc).

What should I read up on in the Apache manual to divert traffic based on where the traffic is coming from? Does Apache provide some gethost type function that lets me see which country the traffic is coming from, and point accordingly?

Thx!

jdMorgan

2:25 pm on Feb 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See Apache mod_proxy.

I cannot recommend this approach; You are intentionally creating duplicate content, and you may expect Google and the other major search engines to react accordingly -- a result you will not be pleased with...

Do a search on WebmasterWorld for "duplicate content" for more info.

Jim