How do I set the default page of my application in IIS7?

前端 未结 7 1040
北荒
北荒 2020-11-29 02:41

I deployed my web application to IIS7 and everything works just fine. However, instead of typing the url of my true starting page, I want it to automatically go to www.xxxxx

7条回答
  •  时光取名叫无心
    2020-11-29 03:37

    I was trying do the same of making a particular file my default page, instead of directory structure. So in IIS server I had to go to Default Document, add the page that I want to make as default and at the same time, go to the Web.config file and update the defaultDocument header with "enabled=true". This worked for me. Hopefully it helps.

提交回复
热议问题