Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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