homepage Welcome to WebmasterWorld Guest from 50.16.132.180
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library : Charter : Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
301 redirect from non-www to www on IIS
cybotron




msg:3412552
 10:26 am on Aug 3, 2007 (gmt 0)

Hi all,

Sorry for if this question sounds a little amateur but I am having problems redirecting http://example.com to http://www.example.com.

I know I have to create 2 websites under IIS manager, one is the non-www version and the other is the www version. but how do i create these. Also how can i redirect the non-www to the www.

Thanks in advance

 

pro_seo




msg:3597602
 4:50 pm on Mar 11, 2008 (gmt 0)

Under your parent domain in IIS, create another website with example.com as the host name and then right click on it> select properties> Select Directory> A redirection to a URL> enter http://www.example.com$S$Q> Select "Exact URL">Select "A permanent redirection"> click ok

You're done!

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved