Tuesday, October 25, 2022

Default document in web.config

  <defaultDocument>

      <files>

        <clear/>

                <add value="dgm.aspx"/>

        <add value="dgm.aspx.cs"/>

        <add value="DGM_BMaster_Page.master"/>

        <add value="Default.htm"/>

        <add value="Default.asp"/>

        <add value="index.htm"/>

        <add value="index.html"/>

        <add value="iisstart.htm"/>

      </files>

    </defaultDocument>


> Or Open IIS and click on Default document and Click on add button.

> you can add multiple pages. The page that is on First will redirect first.

No comments:

Post a Comment