Updated: February 29, 2012
Applies To: Windows Server 2012 R2, Windows Server 2012
Use the Default Document feature page to configure the list of default documents. If a user accesses your site or application without specifying a document name (for example, by requesting http://www.contoso.com/ instead of http://www.contoso.com/Default.htm), you can configure IIS to serve a default document such as Default.htm. IIS returns the first default document in the list that matches a file name in the directory.
To improve performance, make sure that the first default document in the list exists on disk and that it is the first file name in the list.
In this document
The following tables describe the UI elements that are available on the feature page and in the Actions pane.
Displays the file name that is added as a default document.
Displays whether the item is local or inherited. Local items are read from the current configuration file, and inherited items are read from a parent configuration file.
Opens the Add Default Document dialog box in which you can add a file name to the default document list.
Removes the item that is selected from the list on the feature page.
Moves up a selected item in the list.
Moves a selected item down in the list.
Disables the Default Documents feature. When default documents are disabled, and a user accesses your site or application without specifying a document name, client browsers receive a 403—Forbidden error. This error is returned because the web server cannot determine which file to serve, and the client cannot view the contents of the directory.
Enables the Default Documents feature.
Revert to Inherited
Reverts the feature to inherit settings from the parent configuration. This action deletes local configuration settings, including items from the list, for this feature. This action is not available at the server level.
Use the Add Default Document feature page to add a file name to the list of default documents.
Type the file name or relative path that you want to add to the list of default documents. This value is added to the beginning of this list.