Fixing Default Document in Web.config using IIS 7

The default document is the file that the web server displays when you browse into a folder without specifying a file name. The syntax below is a default document:

        <clear />
        <add value=”Path of your Page” />
With IIS7 you can create a default document and set it in your web.config the easiest way possible using IIS7. Default document are useful if the visitor accidentally click an unpublished page in your website, or you have a site that is under construction but the domain is live. Visitors won’t just view the default error page because using IIS7, you can create a more beautiful default document.

Leave a Reply

Your email address will not be published. Required fields are marked *