Welcome to WebmasterWorld Guest from 23.22.220.37

Forum Moderators: ocean10000

Message Too Old, No Replies

redirect multiple domains on iis

     
7:42 am on Jan 2, 2014 (gmt 0)

Full Member

10+ Year Member

joined:June 17, 2003
posts:208
votes: 0


hi, and happy new year to all!

I have a two domains, one is my main .com domain and the other is country specific tld.. what is the proper way to oly have google index my main .com domain? do I park my .gr on to the .com or 301 redirect? and how do I do this on iss asp hosting?

Thanks
7:56 pm on Jan 2, 2014 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12702
votes: 244


Yikes, htdawg, that seems to be three separate questions. I'd suggest getting the conceptual SEO/DNS issues taken care of-- probably in a different subforum-- before coming back here for the IIS nuts and bolts.
9:38 pm on Jan 2, 2014 (gmt 0)

Senior Member from GB 

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

joined:May 14, 2008
posts:3091
votes: 2


I use primary domains for each web site and any secondary domains I redirect within IIS Manager. This requires one record in IIS Manager to handle the primary, which is pointed at the web site home folder, and one for the 301-redirects to the primary record.

My secondaries include the non-www URL so that only www.example.com is visible to the internet as an entity. If anyone tries a secondary domain (or non-www URL) they are automatically redirected to the primary domain, either to the home page OR to whatever page they specify (this can be set up in IIS manager OR the setup can be assigned to always go to the home page).

If you do not have access to IIS Manager you will probably have to ask your server provider to do this for you. There are other ways but they are less suitable/elegant/reliable.