Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: ocean10000

Message Too Old, No Replies

redirect multiple domains on iis

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

10+ Year Member



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)

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



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)

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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.