Forum Moderators: coopster & phranque

Message Too Old, No Replies

Handling two domain names pointing to the same site

         

Marcia

9:20 pm on May 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are two domain names pointing to the same site, which hasn't been launched yet but will be in a few days. It will sell products as an authorized dealer for a company that only sells through dealers.

The first name (the main one) is the one that will be branded, promoted and linked to, though some may link to the other without the owner's knowledge. The second is a slight mis-spelling of the main company's name - with only an "s" added to the second word of the company name, which apparently people are typing in incorrectly by brand name, since in only a few days there have been over 100 sign-ups for the site opening announcement and newsletter.

They both need to be hosted together, so is the best way to point the second "brand name" domain name to a folder within the site? I've never dealt with two domain names for the same site, but with this one there seems to be good reason because of the type-in traffic, even though duplicate content needs to be avoided.

I'm not quite sure what the safest way is to handle this. What are the options?

topr8

9:35 pm on May 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



why not just point the mispelling at the webspace/index page, there is no duplicate content problem unless you promote the misspelled domain or submit it to search engines,

if you don't link to the misspelling then it will never be picked up as a seperate domain or indeed a domain that even exists

even if someone links to the wrong spelling the main domain wont be penalised only the mispelt domain would be.

Lisa

9:42 pm on May 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why not place a check inside the server side scipting. If the domain is wrong redirect to the right one. I do this a lot and it works great.

Marcia

10:30 pm on May 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The parent company owns the domain name with the singular. People assume it's the plural and type it in. The client has the domain name with the plural, which is why she's getting their traffic. It's fine with them they only sell through dealers.

No, the singular points to an entirely different site; it's the plural we have to deal with. There can't be two domain names pointing to the same - it's too risky and since people are looking for the one with the plural, it's sure to get linked to eventually. The name that will be promoted will have a lot of links to it; chances are good that they will both be linked to even without tryiing.

Lisa, we have no control over the server, we've got robots.txt and .htaccess to work with and that's it.

Crazy_Fool

10:51 pm on May 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i agree with your caution marcia. i have several sites with multiple domains (mostly .com/.co.uk).

i don't want to take any risks at all, so i tend to host the two domains separately using robots.txt on the second one to ban all engines. i also host the duplicates on a different server (i guess thats an advantage of owning multiple servers). this is fine for static pages, but if i have any dynamic content, the links pointing to these have the full URL with [domain.com...] etc - this will always take the user to the correct domain. every couple of months i check for sites linking to the wrong domains and contact the site owners asking them to change the links.

other people have suggested using .htaccess to redirect to the correct domain name or using it to ban robots on that domain (DENY?). i'm not an expert on .htaccess so i can't help any further on that i'm afraid.

you could also host the second domain separately with an instant META refresh to redirect to the real domain. that should be very quick and easy.

lioness

11:47 pm on May 28, 2002 (gmt 0)

10+ Year Member



I have a similar situation as Marcia, only I have potentially 3 sites pointing to the main www.domain.com site. What's the benefit/disadvantage of doing a redirect within the .htaccess file versus using a meta refresh?

Crazy_Fool

12:04 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lioness - what you need to avoid is search engines listing the wrong URL. if an engine picks up the wrong URL, your ranking in SERPs can drop or your site could be dropped completely.

if all 3 domains point to exactly the same block of web space, then no matter which domain name is used, the same content will be displayed. if this is the case, then a meta refresh won't work as firstly it would refresh for all domains, and secondly, there is the possibility that the search engines could pick up all pages of the wrong domain. if all domains are like this, you will probably need to use .htaccess.

if you move the additional domain names to separate hosting space, you can use an index.html page with an instant meta refresh. any humans will then be instantly redirected to the correct domain. you should also use robots.txt to ban spiders from listing that page. spiders dislike instant redirects, but it shouldn't matter if you've used robots.txt (someone else might disagree with me there).

my choice would be to use a copy of the home page of the normal site but using full http links to the correct domain, and host it separately. this avoids the meta refresh redirection problem. again, use robots.txt to ban spiders from listing the page. this works for me and it's quick and easy, definitely far easier than trying to use .htaccess for redirection.

Xoc

5:17 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is actually the same problem as having www.domain.com and domain.com having the same content. The best solution is to redirect with a 301 error from the second domain to exactly the same path in the first domain. This gets everyone pointed at the right content.

I can tell you how to do that in IIS, but I don't think you are interested ;). There's some magic in the .htaccess for Apache that will do it that has been covered here before.

Lisa

5:22 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can tell you how to do it in PHP! :) Just place these lines in the top of the default top document.

if(strtolower($SERVER_NAME)!="www.domain.com"){
header("Location: [domain.com");...]
exit;
}

Marcia

5:38 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lioness, the 301 redirect is server side and transparent, the meta refresh isn't. I just shy away from it and JS altogether.

meta refresh I'd only use if nothing was available, like at a free host or one where nothing was working (like one now). And then, it would be 10-15 seconds with nothing more than a short brief reference to change bookmarks or links and a visible link to the forwarded page.

Xoc, I just saw the most awesome Win2000 hosting deal that has everything - cgi, ssi, perl, php, asp, net, the works - including a shopping cart and use of ssl. It almost seems like a hybrid with all it's got. Highly recommended, too. It's very tempting to take the plunge with one site.

Lisa what will that do if both domains are pointing to the exact same page if there are links pointing to both? It looks like it would be very simple.

fathom

6:07 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Since the domain name is a mis-spelling you really don't want this appearing in search engines. It real value is for people type in the mis-spelled domain.

Their is promotional value here those for inbound links and developing PR. If re-directed to main page of other site the PR will be superimposed onto that sites page (and a link back (301 if I'm correct)) will not affect PR on main pages of brand site.

OH WHAT A BEAUTIFUL PR SOLUTION! Can anyone find anything wrong with this!

Xoc

6:33 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here is the thread I was thinking of that tells how to configure the .htaccess: [webmasterworld.com...]

It also has my post on how to do it in IIS.

I think what you want is to set up the correct spelling. Then on the misspelled domain, have no content at all, but just a redirect to the same page on the correct domain. No one should ever wind up at the misspelled domain, so they should always bookmark, link, or index the correctly spelled page.

Marcia

7:09 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The manufacturer has the correct spelling. it's something like widgetcraft.com this lady has widgetcrafts.com :)

The people at the company - widgetcraft.com don't sell the line - it can only be bought through distributors, which is why they don't care if the trademark is used in the domain name. BUT that could change, so the promotion and PR has to be for the non-trademarked for protection. If they got tacky it could always be converted into an affiliate site, but it's not likely the way it's set up. The plural is for traffic, but the company could change policy in future, it's happened with others I remember from old board posts.

If people are typing it into the address bar at that rate they'll most likely do it at search engines also. Now she took a paid Ink page, one for each site (homepage) but I think that should be changed quickly, before June 1, as nell reminded us we'll no longer be able to change domains. Ink doesn't like redirected pages, either.

Xoc, I'll look through that thread, thanks!

And fathom, I have to think through the point you're making.

Lisa

7:17 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Marcia,
The PHP redirect I wrote is very simple and very easy.

if(strtolower($SERVER_NAME)!="www.domain.com"){
header("Location: [domain.com");...]
exit;
}

Any domain that doesn't match the proper www.domain.com website in the Address bar will be directed to www.domain.com. So "domain.com" or "domain-name.com" or "www.domain-name.com" or anything.

The code is ignored when the domain matches the proper name.

fathom

7:46 am on May 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi Marcia,

The best example of this is:

PEIPlay.com which is only a redirect domain name to the tourism guide section of the PEI Provincial governments web site. Which is actual at [gov.pe.ca...]

They (PEI gov) has heavily branded this domain such that the web sites have linked to it (but it still a re-direct.

In comparing link popularity the redirect has 1270 which bumps up the official page's own link pop.

I've never try this before, a similar question in another forum got me thinking.

On another note: typing in at address bar is realy the only concern. At a search engine - generally people have no knowledge of the companies domain (if they did, they would just type in at address bar rather than doing extra steps)

spelling considerations (targeted keywords) can be optimized over different web pages.

lioness

7:59 pm on May 31, 2002 (gmt 0)

10+ Year Member



Marcia, Crazy_Fool, thanks for the help.

Originally, I was thinking of getting web hosting for all 3 sites which will point to the main site.

Crazy_Fool, is the following correct:

If all three domain names point to the same dns servers, then I need to use .htaccess so that google picks up www.maindomain.com, and not www.1stdomain.com, www.2nddomain.com or www.3rddomain.com.

(I believe only www.maindomain.com is in google. It has a PR1 on the main page and PR0 on all remaining pages. I believe this site suffers from some useless js animation, serious lack of content, and overuse of graphics where text would be much more helpful to the visitor. So far, my efforts to 'diplomatically' explain this to the site owner have failed. Time to be the real, brutally honest, me.)

However, if I set up web hosting for each of the 3 sites (neither of which are www.maindomain.com), then I can use meta refresh. I put a copy of the www.maindomain.com/index.html page on all 3 sites (gasp! duplicate content), however, I use a robot.txt file to prevent any spiders from indexing those 3 pages. So, only the www.maindomain.com/index.htm page will be spidered.

Is this correct?

bird

11:26 pm on May 31, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's what I do in the .htaccess to redirect from some "parked" domains to the real one. I think that redirecting by 301 is the safest in SEO terms, and Google will probably simply cumulate the combined PageRank onto the target domain.

RewriteEngine on
# redirect to canonocal hostname (not transmitted in http 1.0)
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule ^(.*)$ http;//www.mydomain.com/$1 [R=301,L]

use : instead of ; after the http
www.mydomain.com is the one you want the user to end up with.

lioness

11:29 pm on May 31, 2002 (gmt 0)

10+ Year Member



I'm not seeing where I differentiate that www.1stdomain.com should point to www.maindomain.com.....

Lisa

4:56 am on Jun 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



All domains that resolve to that code which don't match the domain in that code will be redirected back to the same code using the proper domain name.

lioness

11:24 am on Jun 1, 2002 (gmt 0)

10+ Year Member



ohhhhhhhhhhhh, okay. So, where I have the domain names parked, I point the dns to the 1 web hosting, and all of them will be redirected to www.maindomain.com which is what google will pick up?