Share via


Creating an ASP.NET Application Root Directory with IIS

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

All ASP.NET applications use IIS virtual directories as their application root directories. The procedures in this topic show you how to create a virtual directory in IIS.

Procedures

To prepare for this procedure

  1. Create a new directory. This walkthrough uses the directory C:\myWebApp.

  2. Next, open IIS Manager and create a virtual directory using one of the following procedures.

To create a virtual directory on a computer running Windows Server 2003

  1. From the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. Expand the local computer, and then expand Web Sites.

  3. Right click Default Web Site, point to New, and then click Virtual Directory.

  4. In the Virtual Directory Creation wizard, click Next.

  5. Enter the name of your application in the Alias box, and then click Next.

  6. Enter the path to the physical directory that you created to prepare for this walkthrough, C:\myWebApp, and then click Next.

  7. In the Access Permissions page, select the access permissions that you want for your application, and then click Next.

  8. Click Finish.