Managing Virtual Directories in IIS 7

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Web applications consist of directories and files. When you create a Web site, the site contains a root application. Part of the root application is the path of a directory that contains the content that the Web server returns in responses to requests.

There are two types of directories: physical and virtual. A physical directory is a directory that is located in the physical file system of a computer, and it can contain files and additional directories. A virtual directory is a directory name that you specify in IIS and map to a physical directory on a local or remote server. You can use virtual directories to include content in your application without having to move or copy files to the application's directory.


For information about the levels at which you can perform these procedures, and the modules, handlers, and permissions that are required for these procedures, see Virtual Directories Feature Requirements (IIS 7).


This task includes the following procedures:

View a List of Virtual Directories in a Web Application (IIS 7)

Create a Virtual Directory (IIS 7)

Remove a Virtual Directory (IIS 7)

Change the Physical Path of Virtual Directory Content (IIS 7)