Welcome to WebmasterWorld Guest from 54.162.226.212

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)

5+ Year Member



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)

5+ Year Member



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!

 

Featured Threads

Hot Threads This Week

Hot Threads This Month