★ wanayoo — archive 1999 http://www.networkcomputing.com/netdesign/iisadmin1.htmlNouvelle recherche | Portail wanayoo

       
NWC     Internet   Site Map

Getting StartedTechnology GuideDepartmentsresearch CenterSales & Marketing
FAQs Site Map Staff Article Index Current Issue




Administering IIS 5.0

August 14, 2000

Brought to you by:




Table of contents:
Administering Virtual Directories and Servers

If 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:

  • Understand what virtual directories are and what they are used for
  • Create, configure, and delete virtual directories for content stored both locally and on remote servers
  • Understand what virtual servers are and what they are used for
  • Create, configure, and delete virtual servers for content stored both locally and on remote servers
  • Understand host headers and how they are used to configure virtual servers
Understanding Virtual Directories

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:

  • A directory on the local machine (hence a local virtual directory)
  • A share on a remote server (hence a remote virtual directory)
Local Virtual Directories

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

Why Use Virtual Directories?

Virtual directories, especially remote ones, are useful for several reasons:



PAGE: 1 I 2 I NEXT PAGE
 
Advertisement

Printer Print Full Article
Printer Print This Page
E-Mail E-mail this URL
In This Article
arrow  Ask a Question on IIS

Tool
arrow  Events
arrow  IT Training
arrow  Company Directory
arrow  Reader Service

Get NWC
Subscribe to Network Computing magazine and our Free, weekly E-Mail newsletter.


Spotlight
E-Commerce Survey!
Are you conducting E-business? If so, we want to hear from you. Please take a few minutes and fill out our online questionnaire on payment services. You could win a $200.00 American Express gift certificate!


UnixWorld | Network Design Manual | Interactive Buyer's Guide | WANsites | Real-World Labs | Learn IT | Careers | Article Index |

Home | Technology Guides | Site Map | FAQ | Subscriptions | Contacts | Sales & Marketing | 2000 Edit Calendar |

Network Computing

Byte.com |  Bank Systems & Technology |  CMPmetrics |  eBusiness Expo |  File Mine |  InformationWeek |  Insurance & Technology | 
InternetWeek |  PC Expo |  Planet IT |  TechCalendar |  TechEncyclopedia |  TechLearning | 
TechShopper |  TechWeb News |  TechWeb Today |  Wall Street & Technology |  WebTools |  Winmag.com | 


TechWeb is brought to you by CMP Media, Inc., Copyright © 2000 - Privacy Statement