Creating Virtual Directories

If your Web site contains files that are located in a directory different from the home directory or on other computers, you must create virtual directories to include those files in your Web site. To use a directory on another computer, you must specify the directory’s Universal Naming Convention (UNC) name and provide a user name and password to use for access permission.

To create a virtual directory
  1. In the IIS snap-in, select the Web site or FTP site to which you want to add a directory.
  2. Click the Action menu, point to New, and clickVirtual Directory.
  3. Use the Virtual Directory Creation Wizard to complete this task.

Note   If you are using NTFS, you can also create a virtual directory by right-clicking a directory in Windows Explorer, clicking Sharing, and selecting the Web Sharing property sheet.

To delete a virtual directory
  1. In the IIS snap-in, select the virtual directory you want to delete.
  2. Click the Action menu, and click Delete. Deleting a virtual directory does not delete the corresponding physical directory or files.

© 1997-2001 Microsoft Corporation. All rights reserved.