Edward Parrish © 2003     

Setup Internet Information Server (IIS)

Overview

This document describes how to start and stop Internet Information Server (IIS) on the Windows XP systems in our classroom. In addition, it covers how to create a virtual directory and display an html or ASP page from the virtual directory in the browser

About IIS

IIS is available if you purchase Windows 2000 Professional or Windows XP Professional. Performance is good and IIS is a respectable Web server. Overall, it is a good choice for organizations committed to using Windows only.

On This Page


Starting Windows XP in the Class Room

Note: Do not turn on the power before you select the disk drive.

  1. Before turning on the power, press the center button of the drive selectors
  2. Turn on the power
  3. At the LILO display, select Windows XP
  4. After the system is ready, press Ctrl-Alt-Del together to start the login process
  5. Login as:
    User: Administrator
    Password: password

Starting IIS

  • IIS is set to start automatically when the operating system is started
  • To manually start IIS:
    1. Open the Computer Management window by clicking the Start menu and then right-clicking on My Computer
    2. Select Manage from the popup list
    3. Expand the Internet Information Services tree until you see Default Web Sites
    4. Right-click on Default Web Sites and select Start from the popup menu
    5. After a few seconds, IIS will start. You can verify it is started by looking at the popup menu. If the Stop option is available, then IIS is started.

  • You can verify the server is operating fully by:
    1. Open a browser window
    2. Type the following in the address bar: localhost/cis164
  • If a page appears, then IIS is running correctly
  • Otherwise, IIS may not be set up properly and you should try the following:
    1. Setting Up the Default Web Site
    2. Setting Up the Home Directory
    3. Creating a Virtual Directory

Stopping IIS

  • IIS will stop automatically when the operating system is stopped
  • To manually stop IIS:
    1. Open the Computer Management window by clicking the Start menu and then right-clicking on My Computer
    2. Select Manage from the popup list
    3. Expand the Internet Information Services tree until you see Default Web Sites
    4. Right-click on Default Web Sites and select Stop from the popup menu
    5. After a few seconds, IIS will stop. You can verify it is stopped by looking at the popup menu. If the Start option is available, then IIS is stopped.


Setting Up the Default Web Site

  • Each Web site must have a name
  • Default web site name is Default Web Site
  • If having problems starting IIS, should verify the default web site is set up properly
  1. Open the Computer Management window by clicking the Start menu and then right-clicking on My Computer
  2. Select Manage from the popup list
  3. Expand the Sevices and Applications folder
  4. Expand the Internet Information Services folder
  5. Expand the Web Sites folder
  6. Right-click on the Default Web Site or [Site #1] item
  7. Choose the Properties option
  8. Click the Web Site tab
  9. Enter the information shown below
  10. Click the OK button to apply the changes


Setting Up the Home Directory

  • Each Web site must have a home directory
  • Default web site home directory is C:\Inetpub\Wwwroot
  • If having problems starting IIS, should verify the home directory is set up properly
  1. Open the Computer Management window by clicking the Start menu and then right-clicking on My Computer
  2. Select Manage from the popup list
  3. Expand the Sevices and Applications folder
  4. Expand the Internet Information Services folder
  5. Expand the Web Sites folder
  6. Right-click on the Default Web Site item
  7. Choose the Properties option
  8. Click the Home Directory tab
  9. Select the "A directory located on this computer" radio-button option
  10. Fill in the Local Path information as shown below
  11. Check the Read checkbox as shown below
  12. Click the OK button to apply the changes


Creating a Virtual Directory

Before you can create a virtual directory, you need to create a physical directory to map to. Use Windows Explorer to create a physical directory. I recommend that you create the virtual directories on drive C: under an easy-to-remember subfolder name such as cis164.

  1. Create your physical directory at:
  2. C:\cis164
  3. Start the Computer Management panel from the Start menu by right-clicking on the My Computer button and selecting Manage
  4. You should see something like the following:

  5. Select "Default Web Site" in the left window
  6. Click on the Action button and select:
    Action => New => Virtual Directory
    This will start the Virtual Directory Wizard
  7. Enter a name for the Alias, such as "cis164"
  8. Enter the Directory to map to:
  9. C:\cis164
  10. Set the Access Permissions as shown in the following image
  11. Press the Next and Finish buttons to complete the Wizard setup process
  12. You can now browse to the virtual directory by entering into the address bar: localhost/cis164
  13. If a directory listing appears, then you added successfully the virtual directory. Your newly created directory is initially empty, but you can add files to the physical directory that will show up in the virtual directory.

Note that when IIS is running, you can get access to the documentation by typing into a browser address bar: http://localhost/iishelp/iis/misc/default.asp


Enable Security Tab

  • Can set permissions on files and directories so only users you specify can access them
    • If your Windows XP drive is formatted as NTFS
  • Right-click a file or directory and select Properties
  • If the Security tab is not visible, will need to enable it as follows:
  1. Open Windows Explorer and choose Folder Options from the Tools menu
  2. Select the View tab and scroll down to the bottom
  3. Clear (uncheck) the check box next to "Use simple file sharing"
  4. Click the OK button to apply the change

Home | WebCT | Announcements | Schedule | Expectations | Syllabus
| Help | FAQ's | HowTo's | Links

Last Updated: 7/16/2003 4:45:33 PM