Home » FAQ & Tip » Installing IIS Server on Windows XP

Installing IIS Server on Windows XP

To set up your own web server is not a hard thing to do. This post is showing you how to install IIS (Internet Information Server) on Windows XP and get your first welcome page up and running.

IIS server is shipped with Windows XP, you do not need to download or use any other third party software.

Table of Content

  • Requirement
  • Installing
  • Setup Website
  • Testing

Requirement

  • Microsoft Windows XP CD

Installing

  • Go to Start » Control Panel
    if you are using Classic style menu, go to Start » Settings » Control Panel
  • Double Click on Add or Remove Programs icon
  • Add or Remove Programs appears, click on Add/Remove Windows Components
    screenshot-install-iis-01
  • Windows Components Wizard appears, tick Internet Information Services (IIS) as shown
    screenshot-install-iis-02
  • Click Details
  • Internet Information Services (IIS) appears, check the following detail and select those services that you need. If you are not sure, just leave it as default.
    screenshot-install-iis-03
  • Click OK
  • Components/services are being installed
    screenshot-install-iis-04
  • Installation is completed, click Finish when you see this dialog
    screenshot-install-iis-05

Setup Website

In this demo, we are setting up a static website call My Demo Site

Create a test website

  • Create directory C:WorkBenchlocalsitedemosite
  • Create file call index.html
  • Open it with text editor and Paste the following codes

    <html>
    <head>
    <title>My Demo Site</title>
    </head>
    <body>
    <h1>Page Heading</h1>
    Hello and Welcome to my Demo Site!
    </body>
    </html>

  • Save file

Configure IIS Server to run test Website

  • Go to Start » Control Panel
    if you are using Classic style menu, go to Start » Settings » Control Panel
  • Click on Performance and Maintenance » Administrative Tools
    if you using Classic view, just double click on Administrative Tools
  • Double click on Internet Information Services icon
  • Internet Information Services window appears
    screenshot-install-iis-06
  • Right click on Default Website as shown, then select New » Virtual Directory...
    screenshot-install-iis-07
  • Virtual Directory Creation Wizard appears
    screenshot-install-iis-08
  • Click Next
  • Enter alias of your website (I use demosite for this example) then click Next
    screenshot-install-iis-09
  • Browse or enter directory path where your website folder is, then click Next
    screenshot-install-iis-10
  • Select access permission of your website directory. Leave it as default if you are unsure, then click Next
    screenshot-install-iis-11
  • Finish Virtual Directory Creation Wizard, click Finish
    screenshot-install-iis-12
  • Now go back to your Internet Information Services window, and we adding new default file "index.html" which will be executed by default when you browse to root directory of your website
  • Right click on Default Web Site » Properties
  • Default Web Site Properties window appears
    screenshot-install-iis-13
  • Click Add..
  • Enter "index.html" in Add Default Document dialog then click OK
    screenshot-install-iis-14

Testing

  • Open your Web Browser go to http://localhost/demosite/
  • You should see website as shown below
    screenshot-install-iis-161

Author: Manet Yim FAQ & Tip

481 views
  1. No comments yet.
  1. No trackbacks yet.