Menu ▼

Posted By :
Total Views : 965

Set default document in web.config file

When we open a website a default page will be opened. You can set which page should be opened or which is the default page in the website in web.config file. You can set the default document in defaultDocument section under system.webServer section in web.config file. Below example will let you know how to set the default document in web.config file.


    <add value="Home.aspx"/>

comments powered by Disqus