Welcome to WebmasterWorld Guest from 23.22.182.29

Forum Moderators: ocean10000

Message Too Old, No Replies

301 redirect from non-www to www on IIS

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

New User

5+ Year Member

joined:July 9, 2007
posts:31
votes: 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

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

Junior Member

5+ Year Member

joined:Jan 11, 2007
posts:97
votes: 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!