PDA

View Full Version : Complicated problem on changing domain



coolclu3
08-19-2007, 02:36 AM
Hi all,
I have 2 a bluehost-registered domain with 2 subdomains already running on Bluehost server:
sub1.domain1.com
sub2.domain1.com
www.domain1.com

Now i have a new domain called "domain2" registered with Verio. I want to have
sub1.domain2.com being an exact copy of sub1.domain1.com
sub2.domain2.com being an exact copy of sub2.domain1.com
www.domain2.com being an exact copy if www.domain1.com

My question is:
1. Is this do-able?
2. IF it is, Traffic to domain1 is already large, and i don't want to do the whole marketing again. A redirect or even a notice,when user tries to access sub1.domain1.com to sub1.domain2.com is OK for me i guess.

IN SHORT, basically i want domain1's name to be replaced by the name domain2 without affecting anything: subdomain, losing users...etc...

Any ideas would be greatly appreciated...Thanks for reading..

charlesgan
08-19-2007, 05:47 AM
seem like duplicating content to 2 domain of different server. Possible.

note that search engine like google.... dont like this idea.

Shonky
08-19-2007, 06:29 AM
The best way to do this rather than having a direct copy on each domain is to use a 301 redirect for domain1 each of its sub domains to the new domain and sub domains.

If the traffic you currently have is predominantly from search engines, it would be silly to create duplicates of your own content.

Using a 301 redirect will allow you to keep using all the links that are currently already in place, and forward their authority/pr on to the new domain.

If on the hand you don't care what the search engines think of your site, and most of your traffic is coming from other sources, create duplicate sites all you like, they just won't rank too well in the engines.

Just make sure if you put the 301 in place, to notify the current visitors on domain2.com and its sub domains that they have been redirected to the new site, and to ask them to update their bookmarks as necessary.

Also to do the redirect, place the following code in a .htaccess file, edit the domain to suit, and upload it to the directory where each original domain and sub-domain are being served from.

Redirect 301 / http://domain2.com/

coolclu3
08-20-2007, 04:45 PM
Thanks guys for the replies
I have also just found out the function header(localtion: "") in PHP to redirect something like this

sub1.domain1.com/xyz.html
to
sub1.domain2.com/xyz.html

@Shonky: This is a do-able, but which is better in terms of the rank/traffic for the new site? Or are they exactly the same?