You are currently offline, waiting for your internet to reconnect

How to Create a Virtual Server

This article was previously published under Q165180
This article has been archived. It is offered "as is" and will no longer be updated.
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
With Internet Information Server (IIS), you can create virtual serversthat enable a single server to appear as several servers. Byconvention, each domain name (for example, representsan individual computer. However, it is possible to use a singlecomputer and make it appear to be not only a primary server (forexample, named, but also servers for differentdepartments of your company (for example,,, etc.). You can create virtual servers for thesedepartments with Microsoft Internet Information Server. You do notneed a different computer for each domain name.
To create virtual servers, you must get Internet Protocol (IP)addresses from your Internet Service Provider (ISP) for the primaryserver and for each virtual server you want to create. For example,you assign the first IP address ( in the Domain NameSystem (DNS) as (your primary server), and assignC:\Wwwroot as its content home directory. You register the second IPaddress ( in the DNS as, andassign a different drive or directory as its content home directory.Therefore, it appears to users on the Internet that there are twocomputers when in fact it is the same computer running one copy ofthe WWW Service.

NOTE: If you create a home directory without specifying an IP address,that home directory will be used for all requests containing server IPaddresses not specified in other home directories.

These multiple IP addresses can be assigned to multiple networkadapter cards or to a single card. You use the Control Panel, Networkto bind the additional IP addresses to your network adapter card. Onthe Protocol tab, click TCP/IP protocol, and click Properties. Type thefirst IP address, subnet mask, and the computer's default gatewayunder Specify an IP Address on the IP Address tab.

Then click the Advanced tab to display the Advanced IP Addressingdialog box. To add additional IP addresses to your network interfacecard, click the Add button under IP Addresses.

NOTE: When you assign more than one IP address to a single networkinterface card, you must disable automatic DHCP configuration. The DHCPserver cannot assign multiple IP addresses to the same network interfacecard.

To set up a virtual server

You set up a virtual server by using the Directories Property inInternet Service Manager.
  1. To display property sheets in Internet Service Manager, double-click the WWW Service or the computer name.
  2. Click the Directories tab.
  3. Click the Add button.
  4. In the Directory box of the Directory Properties dialog box, select a directory by clicking the Browse button.
  5. Click Home Directory.
  6. Select the Virtual Server check box.
  7. Type the IP address for the virtual server.
  8. Click OK.

To specify directories with virtual servers

If you have assigned more than one IP address to your server, whenyou create a virtual directory, you must specify which IP address hasaccess to that directory. If no IP address is specified, that directorywill be visible to all virtual servers.

NOTE: The default directories created during setup do not specify anIP address. You may need to specify IP addresses for the defaultdirectories when you add virtual servers.

Article ID: 165180 - Last Review: 12/04/2015 16:33:17 - Revision: 1.1

Microsoft Internet Information Server 3.0

  • kbnosurvey kbarchive kbhowto kbinfo kbother KB165180