Default Document <defaultDocument> IIS中的默认页面
https://docs.microsoft.com/en-us/iis/configuration/system.webserver/defaultdocument/index
Default documents are enabled by default, and IIS 7 defines the following default document files in the ApplicationHost.config file as server-wide defaults:
- Default.htm
- Default.asp
- Index.htm
- Index.html
- Iisstart.htm
https://stackoverflow.com/questions/4208381/how-do-i-set-the-default-page-of-my-application-in-iis7
Just go to web.config file and add following
<system.webServer> <defaultDocument> <files> <clear /> <add value="Path of your Page" /> </files> </defaultDocument> </system.webServer>