|
|
||
|
| ||
Administering IIS 5.0 August 14, 2000
Administering Virtual Directories and ServersIf you're looking to better manage Web content via Internet Information Server, you'll like our latest Network Design Manual chapter, Administering Virtual Directories and Servers, from Osborne McGraw-Hill's Administering IIS 5.0 by Mitch Tulloch and Patrick Santry. In our first exclusive, hands-on excerpt, you'll learn how to create, configure, and delete virtual directories for content stored both locally and on remote servers. Introduction Organizing your Web content is an important issue for corporate intranets spanning multiple departments and for Internet servers hosting content for more than one company. Internet Information Services 5.0 allows administrators to organize Web content in two ways: by using virtual directories and using virtual servers. After completing this chapter, you will be able to:
Virtual directories are a mechanism that allows Web content to be stored in locations other than the default directory C:\inetpub\wwwroot which is the home directory for the default Web site that is created on the local machine on which IIS is installed. This is accomplished by defining an alias for the virtual directory and mapping this alias to the physical location of the Web content. The actual Web content may be located in:
For an example of a local virtual directory, consider the mapping: marketing ´ D:\MarketingDept\Webstuff which assigns the alias marketing to the Web content stored in the directory D:\MarketingDept\Webstuff which is on the local machine (that is, the machine on which IIS is installed). If the local machine is an intranet server called server1, the Marketing Department Web site would be accessed by the following URL: http://server1/marketing The previous example illustrates why the term virtual directory is used: the user attempts to access the subdirectory marketing, which appears to be a subdirectory of the home directory of the default Web site on the IIS server. In other words, the path for the Marketing directory appears to be C:\inetpub\wwwroot\marketing but this subdirectory doesn't actually exist. Instead, it is an alias representing the real directory: D:\MarketingDept\Webstuff So we could say that virtual directories are mappings of URL space onto directory space. Remote Virtual Directories For an example of a remote virtual directory, consider the mapping sales ´ \\Fileserv4\SalesWeb which assigns the alias sales to the Web content stored in the share SalesWeb, which is on the remote machine Fileserv4. Note that remote virtual directories are mapped to UNC network shares. Again, if IIS is installed on a machine called server1, the Sales Department Web site would be accessed by the following URL: http://server1/sales Virtual directories, especially remote ones, are useful for several reasons:
| ||
|
PAGE: 1 I 2 I 3 I NEXT PAGE |
||


Administering Virtual Directories and Servers









