Home > Articles > Microsoft > MCSA

  • Print
  • + Share This
This chapter is from the book

Virtual Directories

In general, the idea of an FTP or Web site is a hierarchy of pages leading down to deeper directories. Most of the time those directories are all located underneath the same directory tree, but with IIS, that doesn't necessarily need to be the case.

If you have a particularly large FTP site, you could keep some files—such as the latest service packs for your programs—on one hard drive and the latest trial versions on another, different, hard drive. This would allow you to have a single FTP site that spans multiple hard drives.

Additional reasons exist for why you might not want your hard drive space to mirror the representation on the Web. Step By Step 3.9 shows you how to create a virtual directory on a Web site. The process is almost identical for creating a virtual directory for an FTP site.

STEP BY STEP 3.9: Adding a New Virtual Directory to a Web Site
  1. From the Start menu select Settings, Control Panel.

  2. Double-click Administrative Tools and Internet Services Manager.

  3. Click the plus sign to the left of the computer name to display a listing of Web and FTP sites (refer to Figure 3.8).

  4. Click the Web site to add the virtual directory to.

  5. Right-click the computer and select New, Virtual Directory from the context menu.

  6. Click the Next button to move past the welcome step.

  7. Enter the alias name for the virtual directory. This is the name that will be used to reference the virtual directory from the Web browser.

  8. Click the Next button to display the directory step.

  9. Select a path to which the virtual directory will refer.

  10. Click the Next button to select the permissions the directory will have.

  11. Select the permissions that are appropriate for the directory. (Refer to Step By Step 3.7, steps 16–20, for an explanation of what each option does.)

  12. Click the Next button; then click the Finish button to close the New Virtual Directory Wizard.

  13. Close the Internet Information Services window.

The process forcreating a virtual FTP directory is the same except for the permissions step, in which you are presented with the option for read and write permissions—just like when you create an FTP server.

  • + Share This
  • 🔖 Save To Your Account