Microsoft KB Archive/323972

= How to set up your first IIS Web site =

Article ID: 323972

Article Last Modified on 11/21/2006

-

APPLIES TO


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

-



This article was previously published under Q323972





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:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SUMMARY
This article describes how to set up your first Web site in Internet Information Services (IIS) by using the minimum number of steps that you require to prepare for a migration from Apache.

Configure a default Web site
When you install IIS, it is preconfigured to serve as a default Web site; however, you may want to change some of the settings. To change the basic settings for the Web site and to emulate the steps that are required to set up Apache for the first time by using the configuration file:
 * 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, and then click Properties.
 * 5) Click the Web site tab.
 * 6) Type a description for the Web site in the Description box.
 * 7) Type the Internet Protocol (IP) address to use for the Web site or leave the All (Unassigned) default setting.
 * 8) Modify the Transmission Control Protocol (TCP) port as appropriate.
 * 9) Click the Home Directory tab.
 * 10) To use a folder on the local computer, click A directory on this computer, and then click Browse to locate the folder that you want to use.
 * 11) To use a folder that has been shared from another computer on the network, click A share located on another computer, and then either type the network path or click Browse to select the shared folder.
 * 12) Click Read to grant read access to the folder (required).
 * 13) Click OK to accept the Web site properties.

Create a new Web site
To create a new Web site in Apache, you must set up a virtual host and configure the individual settings for the host. If you are using IIS, you can create a new Web site by translating the following terms to the IIS equivalents:

To create a new Web site in IIS, follow these steps:
 * 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) Click Action, point to New, and then click Web Site.
 * 5) After the Web Site Creation Wizard starts, click Next.
 * 6) Type a description for the Web site.

This description is used internally to identify the Web site in Internet Services Manager only.
 * 1) Select the IP address to use for the site.

If you select All (unassigned), the Web site is accessible on all interfaces and all configured IP addresses.
 * 1) Type the TCP port number to publish the site on.
 * 2) Type the Host Header name (the real name that is used to access this site).
 * 3) Click Next.
 * 4) Either type the path to the folder that is holding the Web site documents or click Browse to select the folder, and then click Next.
 * 5) Select the access permissions for the Web site, and then click Next.
 * 6) Click Finish.

