Microsoft KB Archive/324045

= HOW TO: Set Up Virtual URL-Based Web Sites in a UNIX-to-Windows Migration =

PSS ID Number: 324045

Article Last Modified on 12/18/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional
 * Microsoft Small Business Server 2000
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q324045



IN THIS TASK

 * SUMMARY
 * ** Setting Up a Virtual Directory-Based Web Site
 * Setting Virtual Directory-Based Web Site Properties
 * REFERENCES



SUMMARY
Virtual directory-based Web sites are completely self-contained Web sites that have the same permissions and configurable parameters as a full Web site, but you can access these Web sites by using a folder name in another Web site. This article describes how to create a new virtual Web site by using a virtual directory.

back to the top

Setting Up a Virtual Directory-Based Web Site
To set up a virtual directory, you have to have only the folder name and an identification name for the Web site. The Internet Information Services (IIS) virtual directory provides the same functionality as a folder that is redirected to a virtual Web site (either by name or by IP address). However, Apache does not include the virtual directory functionality.

To set up a virtual directory-based Web site:
 * 1) Log on to the Web server computer as an administrator.
 * 2) Click Start, point to Settings, and then click Control Panel.
 * 3) Double-click Administrative Tools, and then double-click Internet Services Manager.
 * 4) Right-click the Web site that you want to configure in the left pane, point to New, and then click Virtual Directory.
 * 5) After the Virtual Directory Creation Wizard starts, click Next to create the virtual directory.
 * 6) Type the alias that is used to identify the Web site in the Alias box, and then click Next.

NOTE: The alias must be unique in the Web server.
 * 1) Type the location of the folder that contains the documents for this Web site or click Browse to select the folder name from a file browser, and then click Next.
 * 2) Select the access permissions for the Web site.

You can configure any of the following permissions:
 * 1) * Read access: Users can access the Web site.
 * 2) * Run Scripts: Users can run ASP scripts in the Web site.
 * 3) * Execute: Users can run ISAPI and CGI scripts in the Web site.
 * 4) * Write: Users can update the Web site remotely.
 * 5) * Browse: Users can view folder contents.
 * 6) Click Next, and then click Finish.

back to the top

Setting Virtual Directory-Based Web Site Properties

 * 1) Log on to the Web server computer as an administrator.
 * 2) Click Start, point to Settings, and then click Control Panel.
 * 3) Double-click Administrative Tools, and then double-click Internet Services Manager.
 * 4) Expand the Web site that holds the virtual directory-based Web site.
 * 5) Click the virtual Web site folder alias from the list of folders sites in the left pane.
 * 6) Right-click the virtual directory, and then click Properties.
 * 7) Select the appropriate settings, and then click OK to save the settings.

back to the top

