Skip navigation

How do I specify more than one default document?

A. When you select a web site directory, e.g. http://www.ntfaq.com/games a default document is looked for, e.g. default.htm and this filename can be changed. With IIS 2.0 and 3.0 the default document is changed as follows:

  1. Start the Internet Service Manager
  2. Double click on the computer and select the web service
  3. Select the Directories tab
  4. At the bottom of the window is the default document, by default default.htm. You can specify multiple default documents by separating them with a comma, e.g.
    default.htm, default.asp, index.htm, index.html
    which will cause the IIS service to search for the documents in that order and displayed when found.
  5. Click Apply then OK

With IIS 4.0 and IIS 5.0 (both via the MMC interface) the change is performed as follows:

  1. Start the Internet Service Manager (Start - Programs - Administrative Tools - Internet Services Manager)
  2. Expand the computer and select the web site
  3. Right click on it and select Properties
  4. Select the Documents tab
  5. Check the "Enable Default Document" box and click Add to add a new default name and the order of the search can be changed by clicking the up and down arrows.
  6. Click Apply then OK

Click here to view image


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish