How do you configure IIS 7 to use a subdirectory as the default document?

Posted by Mark Rogers on Server Fault See other posts from Server Fault or by Mark Rogers
Published on 2009-09-24T18:42:40Z Indexed on 2012/04/01 11:33 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then 'www.website.com/sample' will execute the mvc app.

My problem is that I want the app to be shown when you go to 'www.website.com' not just 'www.website.com/sample'. I have access to the IIS Manager, and I'm sure there are many ways to do this.

What's the best way to do this?

© Server Fault or respective owner

Related posts about iis

Related posts about iis7