AAAAA's New Web Site AAAAA@15web.com


*** IIS on Windows XP pro ***
 

Running IIS on Windows XP Professional

Many people do not know that Windows XP Professional includes a fully functional web server, Microsoft IIS 5.1. For a small office or home, this is incredibly convenient. If you're a developer who wants to try web development with HTML, Javascript, Active Server Pages (ASP), or VBScript, having IIS can allow you to experiment quickly with files on your local system. Of course, you could always download and install the free and robust Apache web server, but IIS is somewhat simpler and the documentation is better. [begin heated debate...]

You don't need to buy the more expensive Windows XP Advanced Server or Windows 2000 Server to run IIS. However, the XP Professional standard EULA (license) states that at most 10 computers may connect to your machine for IIS, File/Printing services, and remote access. That means you would be violating the license if you ran a web server using IIS from your house or office, and more than 10 people connected to it at once. If you want a free solution and don't need ASP, you could also run Apache+PHP on your XP Professional machine. The duo is free, unrestricted, and serves the same purpose.

Installing IIS on Windows XP Professional

The Internet Information Server (IIS) is not installed by default on Windows XP. To install it, one must log in under an account with administrator priviledges, and go to "Control Panel"->"Add Remove Programs"->"Add/Remove Windows Components." Just check the "Internet Information Services" checkbox and complete the installation. (Note, if you click the "Details..." button, you can also install Microsoft's free FTP server.) Windows XP Components Wizard

Once that finishes, you will have a directory called c:\Inetpub\wwwroot on your hard drive that contain the files that your web server will serve. To test your server, use Internet Explorer or Mozilla and type in "http://localhost" or "http://127.0.0.1" in the URL. You will see either an "Under Contruction" page or a Microsoft page that says your web service is now running. These are default files installed by IIS in the wwwroot directory, and it is safe to delete them if you want a barebones IIS installation. Create a text file called "Default.asp", type something in it, and save it to the wwwroot directory. When you reload your site again, you will see the file you just made displayed in the browser. Now you are free to experiment with HTML, Javascript, CSS, etc. If you don't want to learn ASP, you can download and install the free and powerful PHP scripting engine, which integrates into IIS easily. PHP is an up-and-coming all-star in web server-side scripting; it is used by Yahoo!, CBS, and other large corporations. For example, one can create custom GIF images on the fly using one of the PHP function libraries. There are dozens of other useful function libraries in PHP. Furthermore, the documentation is superb.


HOW TO: Configure Windows 2000 as a Web Server

Article ID : 308192
Last Review : October 31, 2006
Revision : 3.1
This article was previously published under Q308192

SUMMARY

This article is a step-by-step guide for setting up a World Wide Web server for anonymous access in a Windows 2000 environment.


Back to the top

Installing Internet Information Services

Microsoft Internet Information Services (IIS) is the Web service that is integrated with Windows 2000. To install IIS:
1. Click Start, point to Settings, and then click Control Panel.
2. In Control Panel, double-click Add/Remove Programs.
3. Click Add/Remove Windows Components.
4. In the Windows Components Wizard, select the Internet Information Services (IIS) check box, and then click Details.
5. Clear all the check boxes, and then select the following check boxes:
Common Files
Documentation
FrontPage 2000 Server Extensions
Internet Information Services Snap-In
Internet Services Manager
World Wide Web Server
6. Click OK, and then on the Windows Components page, click Next. If you are prompted to do so, insert the Windows 2000 CD-ROM, and then click OK.
7. On the "Completing the Windows Components Wizard" page, click Finish.
8. In the Add/Remove Programs dialog box, click Close.

Back to the top

Configuring Anonymous Authentication

1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. (In Windows 2000 Professional, you can start Administrative Tools from Control Panel.)
2. Right-click * server name (where server name is the name of the server), and then click Properties.
3. In the Master Properties box, click WWW Service (if it is not already selected), and then click the Edit button that is next to the Master Properties box.
4. Click the Directory Security tab.
5. Under Anonymous access and authentication control, click Edit.
6. Under Authenticated access, select the Integrated Windows authentication check box.
7. Select the Anonymous access check box, and then click Edit. Note the user account in the Username box. This account is used by Windows to authenticate anonymous users when they browse the Web site.
8. Click OK, click OK, click OK, and then click OK.

Back to the top

Basic Web Site Configuration

1. Start Internet Services Manager.
2. In the Tree list, expand * server name (where server name is the name of the server).
3. Right-click Default Web Site, and then click Properties.
4. 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 box.
5. If you do not want unlimited connections to the Web site, click Limited To, and then type the number of concurrent connections that you want.

NOTE: Windows 2000 Professional is limited to 10 concurrent connections.

Each client that browses the Web site generally uses about 3 connections.
6. Click the Performance tab.
7. Move the Performance tuning slider to the position that you want.
8. If you want to limit the amount of network bandwidth that is available for connections to this Web site, select the Enable bandwidth throttling check box, and then type the amount that you want in the Maximum network use box.
9. If you want to limit the amount of computer processing time spent servicing requests for content on this Web site, select the Enable process throttling check box, and then type the amount that you want in the Maximum CPU use box.

This prevents the Web site from consuming too much processor time to the detriment of other computer processes.

NOTE: Bandwidth throttling is not available in Windows 2000 Professional.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
263857 (http://support.microsoft.com/kb/263857/EN-US/) Items in the ISM Are Missing or Appear Dimmed on Windows 2000 Professional
10. Click the Home Directory tab.
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.
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.
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, select the appropriate check box.
11. Click the Documents tab. Note the list of documents that IIS can use as the default start documents. If you want to use Index.html as your start document, you must add it. To do this:
a. Click Add.
b. In the Add Default Document dialog box, type Index.html, and then click OK.
c. Click the up-arrow button until Index.html is displayed at the top of the list.
12. Click the Operators tab. Note the user accounts that have operator privileges on this Web site. Click Add to add additional user accounts to operate this Web site.

NOTE: The Operators tab is not available in Windows 2000 Professional.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
263857 (http://support.microsoft.com/kb/263857/EN-US/) Items in the ISM Are Missing or Appear Dimmed on Windows 2000 Professional
13. Click OK to return to the Internet Information Services window.
14. Right-click Default Web Site, and then click Stop.
15. Right-click Default Web Site, and then click Start.
The server is now configured to accept incoming Web requests to the default Web site. You can replace the content of the default Web wite with the Web content that you want, or you can create a new Web site.


Back to the top

Troubleshooting

For additional information about troubleshooting Web servers, click the article number below to view the article in the Microsoft Knowledge Base:
297954 (http://support.microsoft.com/kb/297954/EN-US/) HOW TO: Troubleshoot the Web Server in Windows 2000

57232
(C) 2006
(C) 2008
AAAAA's New Web Site | AAAAA@15web.com<a href="http://www.aspcontentmanagement.com" title="powered by asp content management" style="color: Black;" target="_blank">powered by asp content management</a>