How do I set a non root folder as a web project in IIS? I want the website to be www.mysite.com/projectA

not www.mysite.com

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

There are many ways to accomplish this task.

Easiest way, go to the root of the website, create a subfolder called Project A and move everything there.

Alternatively, you can do it by changing the root of the website to a blank folder then creating a new Virtual Directory called Project A located at the old location.

Then there is the smartest way using the URL Rewrite module, however this is the most complex method.

link|improve this answer
feedback

You would create a new virtual directory in the IIS management console and specify the appropriate path.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.