How to create a virtual directory in IIS using Windows 7

What is a Virtual Directory ?

A virtual directory represents a web application and it points to a physical folder in your computer.

How to create it in IIS on Windows 7 ?

In IIS (Internet Information Services Manager), as shown in the screenshot below, right click on a website under which you want to create a virtual directory. In this example “DemoSite” is the website under which I will be creating my virtual folder.

This can be done by right clicking it and selecting the “Add Virtual Directory” option.

Next you will get a window like the one below in the screenshot, where you will have to enter an “Alias” name for the virtual directory and also provide a Physical Path to it.

Click Ok and your virtual path is ready to use.

In case of any doubts or queries, feel free to use the comment section.

3 comments on “How to create a virtual directory in IIS using Windows 7

  1. Sir I want to studied about ASP.NET MVC, WCF, WPF, LINQ From beginners level to Professional level, so please suggest me any website or any best resource for above things.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>