HOW TO: Configure Basic Settings in a UNIX-to-Windows Migration (323973)



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 Q323973

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:
  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. In the left pane, right-click the Web site that you want to configure, and then click Properties.
  5. Click the Web site tab.
  6. Type a description for the Web site in the Description box.
  7. 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.
  8. 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.
  9. 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:
  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. In the left pane, right-click the Web site that you want to configure, and then click Properties.
  5. Click the Home Directory tab.
  6. 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.
  7. 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.
  8. Click Read to set Read access to the folder.

    NOTE: You must complete this step.
  9. 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

Modification Type:MinorLast Reviewed:7/15/2004
Keywords:kbhowto kbHOWTOmaster KB323973 kbAudITPro