Search Support
contact us

Let Us Make it Easy for You. Call 1-877-898-3290 for MyTime Support™. Learn More

How to create a virtual directory in IIS

Article Rating: 2 / 5 Votes: 11

The following article explains how to create a virtual directory within IIS 5.0 and IIS 6.0. A virtual directory provides web access to a folder that is located outside of the home directory. Use caution when creating a virtual directory, since it provides access to resources outside of a domain name.

To create a virtual directory in IIS, please follow these steps:

Login to your server through Terminal Services or Remote Desktop Connection.

Click Start, select Programs, and then click Administrative Tools.

·         For IIS 5.0 click Internet Services Manager.

·         For IIS 6.0 click Internet Information Services.

In the left column you will see the Server Name.

·         In IIS 5.0, expand the Server Name to find the domain name.

·         In IIS 6.0, expand the Server Name and then Web Sites to find the domain name.

Right-click on the domain name and select New and then Virtual Directory.

Click Next to begin the Wizard.

Enter the virtual directory name as the Alias.

Enter the path to the directory you are linking to.

 

Set the permissions for the virtual directory:

·         Read - allows the virtual directory to be visible through a web browser.

·         Run Scripts - allows scripts such as ASP and ASP.Net to be run.

·         Execute - allows .exe and .dll files to be run (we recommend not checking this option).

·         Write - allows certain browsers to write to files in your website (we recommend not checking this option).

·         Browse - if there is no index page, this option will display a listing of all the pages in your folder (we recommend not checking this option).

Click Finish.