contador Saltar al contenido

How to install IIS and configure a web server in XP

Internet Information Services or more commonly known as IIS a lightweight web server process included on the XP installation disc. IIS on XP is the ideal choice for testing native Microsoft web applications such as ASP and .Net. You may also be interested in my previous post on how to configure an FTP server using IIS.

By default, IIS is not installed on XP, so you need to get the XP installer to install it. Insert it into the CD drive and wait for the XP installation window to appear. Click on Install optional Windows components :

When the Windows Components wizard, check the box next to Internet Information Services (IIS) and click Next:

Wait until the files are copied, then click end to install the IIS component. After installation it should be under the Control panel> Administrative tools . Click "Internet Information Services" to open the IIS manager window.

In the IIS window you should be able to see the name of your computer and below it the websites hosted on that computer. By default, it will only be a single default website .

To add web files to that web folder, open the folder C: Inetpub wwwroot (assuming drive C is where you installed Windows). Put your HTML files here along with the required images and files. To set a default page, save a file index.htm inside the wwwroot folder:

If you did it correctly, you should be able to browse // localhost / with the index.htm page as the default page:

If you use many ASP and .Net web applications, IIS a good test platform on Windows XP. Since XP has a limited number of allowed connections, don't expect it to be able to handle more than 10 HTTP client connections (perhaps even less if you use XP for other shared connections like directory sharing and database hosting).

only useful for quick and dirty alpha tests, so if you want to perform a reliable test, use a real Windows Server (not XP) with IIS instead. To enjoy!