SUMMARY
This article describes how to migrate the basic Web site configuration parameters (the Internet Protocol [IP] address, the port number, and the document root) from Apache to Internet Information Services (IIS).
back to the top
Setting the IP Address and Port Number
When you use Apache, you set the IP address on which to listen for connections and the port number by using either the BindAddress directive and the Port directive in Apache 1.3 or by using the Listen directive in Apache 2.0. When you use IIS, these values are set as part of the basic Web site configuration parameters. To set the IP address and port number for a Web site:
- 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.
- In the left pane, right-click the Web site that you want to configure, and then click Properties.
- Click the Web site tab.
- Type a description for the Web site in the Description box.
- Select the IP address that you want to use for the Web site.
If you click All (Unassigned), the Web site is made available on all configured IP addresses on all configured interfaces. If you select only one address, the Web site is shared only on that address on all interfaces. - Select the Transmission Control Protocol (TCP) port that you want to share the Web site on.
The default setting is port 80, but other typical choices are 1000, 1001, 8008 and 8080. - Click OK.
To set more complex IP address and port number combinations, click
Advanced on the
Web site tab. For example, you can use the
Advanced section to configure different port numbers for different interfaces or IP addresses.
back to the top
Setting the Document Root Folder
In Apache, the DocumentRoot directive defines the location of the root of the folder tree for the Web site. To set a single folder to hold the contents of a Web site in IIS:
- 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.
- In the left pane, right-click the Web site that you want to configure, and then click Properties.
- Click the Home Directory tab.
- To use a folder on the local computer, click A directory on this computer, and then click Browse to find 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 set Read access to the folder.
NOTE: You must complete this step. - Click OK.
back to the top
REFERENCES
For additional information about how to prepare servers for a UNIX-to-Windows Migration, click the article number below
to view the article in the Microsoft Knowledge Base:
323970 HOW TO: Prepare the Target Server for a UNIX-to-Windows Migration
back to the top