Microsoft KB Archive/324742

= How To Configure a Computer Running Windows Server 2003 As a Web Server =

Article ID: 324742

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, 64-Bit Datacenter Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q324742



For a Microsoft Windows 2000 version of this article, see 308192.

IN THIS TASK

 * SUMMARY
 * Install Internet Information Services
 * Configure Anonymous Authentication
 * Basic Web Site Configuration
 * Troubleshoot
 * REFERENCES



SUMMARY
This step-by-step article describes how to set up a Web server for anonymous access in a Windows Server 2003 environment.

back to the top

Install Internet Information Services
Microsoft Internet Information Services (IIS) is the Web service that is integrated with Windows Server 2003.

To install IIS, add optional components, or remove optional components, follow these steps:
 * 1) Click Start, point to Control Panel, and then click Add or Remove Programs.

The Add or Remove Programs tool starts.
 * 1) Click Add/Remove Windows Components.

The Windows Components Wizard appears.
 * 1) In the Windows Components list, click Application Server, but do not select the check box.
 * 2) Click Details, and then click to select the Internet Information Services (IIS) check box.
 * 3) Click Details to view the list of IIS optional components.
 * 4) Select the optional components that you want to install. By default, the following components are selected:
 * 5) * Common Files
 * 6) * Internet Information Services Manager
 * 7) * 'World Wide Web Service'
 * 8) Click World Wide Web Service (but do not clear the check box), and then click Details to view the list of IIS optional subcomponents, such as the Remote Administration (HTML) Tool. Select the optional subcomponents that you want to install. By default, the following component is selected:
 * 9) * World Wide Web Service
 * 10) Click OK, click OK, click OK, and then click Next to install the selected components.
 * 11) Click Finish to complete the Windows Components Wizard, and then close the Add or Remove Programs dialog box.

back to the top

Configure Anonymous Authentication
To configure anonymous authentication, follow these steps:
 * 1) Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
 * 2) Under   (local computer) (where   is the name of the server), right-click Web Sites, and then click Properties.
 * 3) In the Web Sites Properties dialog box, click the Directory Security tab.
 * 4) Under Authentication and access control, click Edit.
 * 5) Click to select the Enable anonymous access check box (if it is not already selected).

Note The user account in the User name box is used for anonymous access only, through the Windows guest account.

By default, the server creates and uses the account IUSR_ . The anonymous user account password is used only by Windows. Anonymous users do not log on by using a user name and password.
 * 1) Click OK two times.

back to the top

Basic Web Site Configuration
 Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. Under  (local computer), expand Web Sites. Right-click Default Web Site, and then click Properties. Click the Web Site tab. If you have multiple IP addresses assigned to your computer, click the IP address that you want to assign to this Web site in the IP Address list. Click the Performance tab. Use these options to set the Web site properties that affect memory, bandwidth use, and the number of connections to the Web site.

By configuring network bandwidth on a particular site, you can better control how much traffic there is at that site. For example, by restricting bandwidth on a lower-priority Web site, you can restrict bandwidth to allow increased access to other sites. Likewise, when you specify the number of connections to a Web site, you free resources for other sites. Settings are site-specific and you can adjust them as network traffic and use changes.  Click to select the Limit the network bandwidth available to this Web site check box to configure IIS to throttle network bandwidth to the amount selected in the Maximum bandwidth (in kilobytes per second) box. Under Web site connections, click Unlimited to permit unlimited client connections to this Web site, or click Connections limited to and enter the number of connections you want to limit this Web site to. Limiting connections permits computer resources to be used for other processes.

Note Each client that browses the Web site typically uses about three connections.</li></ul> </li> Click the Home Directory tab. <ul> If you want to use Web content that is stored on the local computer, click A directory located on this computer, and then type the path that you want in the Local path box. For example, the default path is C:\Inetpub\wwwroot.

Note For added security, do not create Web content folders in the root folder.</li> If you want to use Web content that is stored on a different computer, click A share located on another computer, and then type the location that you want in the Network directory box that appears.</li> If you want to use Web content that is stored on another Web address, click A redirection to a URL, and then type the location that you want in the Redirect to box. Under The client will be sent to, click to select the appropriate check box.</li></ul> </li> Click the Documents tab. Note the list of documents that IIS can use as the default start document. If you want to use Index.html as your start document, you must add it. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Add.</li> In the Default content page box, type Index.html, and then click OK.</li> Click the Move Up button until Index.html is displayed at the top of the list.</li></ol> </li> Click OK to close the Default Web Site Properties dialog box.</li> Right-click Default Web Site, and then click Stop.</li> Right-click Default Web Site, and then click Start.</li></ol>

The server is now configured to accept incoming Web requests to the default Web site. You can replace the content of the default Web site with the Web content that you want, or you can create a new Web site.

back to the top

Troubleshoot
For additional information about how to troubleshoot Web servers, click the following article number to view the article in the Microsoft Knowledge Base:

323358 How To Troubleshoot a Web Server in Windows Server 2003

back to the top

<div class="references_section">