Create a Virtual Directory (IIS 6.0)
In most cases, the content you publish to your Web site is located in a home directory on your computer, such as C:\Inetpub\Wwwroot\. However, there might be instances when the content is located in another directory, or even on a remote computer.
To be able to publish content from any directory not contained within your home directory, you must create a virtual directory. A virtual directory is a directory that is not contained in the home directory but appears to client browsers as though it were. You can create a virtual directory by using IIS Manager or by using Windows Explorer.
Credentials: Membership in the Administrators group on the local computer.
As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".
To create a virtual directory by using IIS Manager
In IIS Manager, expand the Web Sites folder, and expand the Web site to which you want to add a virtual directory.
Right-click the Web site or folder within which you wish to create the virtual directory, select New, and then click Virtual Directory. The Virtual Directory Creation Wizard appears.
In the Alias box, type a name for the virtual directory. This is the name the user types, and should be short and easy to type.
In the Path box, type the name of the physical directory or click Browse to navigate to the physical directory in which the content for the virtual directory resides.
Under Allow the following permissions, select the check boxes for the access permissions you want to assign to your users, and then click Next.
For security purposes, when selecting access permissions, consider allowing only the default Read permission. By restricting permissions in this way, you can mitigate potential attacks against your Web site by malicious users.
Click Finish. The virtual directory is created below the currently selected folder level.
To create a virtual directory by using Windows Explorer
Open Windows Explorer.
Right-click the folder you want to be a virtual directory, and select Sharing and Security.
On the Web Sharing tab, click Share this folder.
On the Edit Alias dialog box, in the Alias box, type the name for the virtual directory.
Under Access permissions, select the check boxes for the type of access you want to assign to the virtual directory.
Under Application permissions, select the check boxes for the type of application access you want to assign to the virtual directory.
Click OK, and then click OK again.