Hi I know this question has been answered for other methods but in iis 7 how would one redirect all sites to www version. i.e example.com to www.example.com is there a method or would it be done in the same way as iis 6 where you created another site for example.com and then redirected to www version, or is it best to use code to do this in global.asax or module. Thanks
|
feedback
|
migrated from stackoverflow.com Jul 25 '10 at 4:18
This question came from our site for professional and enthusiast programmers.
|
Use the IIS URL Rewrite module. In particular, the exact rule you want is:
| |||||||||||
feedback
|