Is it possible to use custom host headers / bindings with IIS7 Express?

后端 未结 2 1093
春和景丽
春和景丽 2021-02-01 22:29

I\'m trying to configure a new ASP.NET MVC3 using IIS7 express (on my local development machine) to use a custom domain name.<

2条回答
  •  不要未来只要你来
    2021-02-01 23:10

    I have successfully been able to accomplish debugging an IIS7-bound site similar to the above. The only step it appears you are missing is within your project:

    1. Select Project => [Project] Properties from the menu
    2. Click the "Web" section
    3. Select the "Use Custom Web Server" option, and set Server Url to "http://dev.www.my-domain.com"

提交回复
热议问题