Article ID: 320051 - Last Review: July 3, 2008 - Revision: 5.1 How to configure the default document in Internet Information ServicesThis article was previously published under Q320051 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSUMMARY
This step-by-step article describes how to configure the default document in Internet Information Services (IIS) 5.0.
The default document is the file that is sent by the Web server when it receives a request for a Uniform Resource Locator (URL) that does not specify a file name (for example, http://MyWebSite). The default document can be the home page of a Web site, or an index page that displays a hypertext listing of the contents of the site or folder. You can configure the default document settings for the Web site or folder. You can specify more than one default document for a Web site or folder. IIS searches for and serves default documents in the order in which they are listed. IIS returns the first document that it finds. If the first document in the list is unavailable, the server displays the next default document in the list. If no match is found and folder browsing is activated for that site or folder, IIS returns a folder listing. If folder browsing is not activated, IIS returns an "HTTP Error 403 - Forbidden" message to the browser. Examples of default document names include Default.htm, Default.asp, Index.htm, and Index.html. How to Configure the Default DocumentTo configure default document settings in IIS:
TroubleshootingFor more information about how to troubleshoot issues with document settings in IIS, click the following article numbers to view the articles in the Microsoft Knowledge Base:247677
(http://support.microsoft.com/kb/247677/
)
Error Message: 403.2 Forbidden: Read Access Forbidden
185380
(http://support.microsoft.com/kb/185380/
)
"Directory Listing Denied" when browsing a Web site
REFERENCES
For more information about IIS, see the IIS documentation. If IIS is installed on the computer, start Microsoft Internet Explorer, type the following address in the Address box, and then press ENTER:
http://localhost/iisHelp/
(http://localhost/iisHelp/)
Or, view the IIS documentation at the following Microsoft Web site:
http://technet.microsoft.com/en-us/windowsserver/2000/bb735392.aspx
(http://technet.microsoft.com/en-us/windowsserver/2000/bb735392.aspx)
| Article Translations
|
Back to the top
