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:
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Right-click the Web site that you want to configure in the left pane, and then click Properties.
- Click the Web site tab.
- Type a description for the Web site in the Description box.
- Type the Internet Protocol (IP) address to use for the Web site or leave the All (Unassigned) default setting.
- Modify the Transmission Control Protocol (TCP) port as appropriate.
- Click the Home Directory tab.
- 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.
- 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.
- Click Read to grant read access to the folder (required).
- 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:
Apache term | IIS term |
---|---|
DocumentRoot | IIS Web Site Home Directory |
ServerName | IIS Host Header |
Listen | IIS IP Address and TCP Port |
To create a new Web site in IIS, follow these steps:
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Click Action, point to New, and then click Web Site.
- After the Web Site Creation Wizard starts, click Next.
- Type a description for the Web site.
This description is used internally to identify the Web site in Internet Services Manager only. - 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. - Type the TCP port number to publish the site on.
- Type the Host Header name (the real name that is used to access this site).
- Click Next.
- 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.
- Select the access permissions for the Web site, and then click Next.
- Click Finish.