homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

redirect multiple domains on iis

 7:42 am on Jan 2, 2014 (gmt 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?




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

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)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved