【发布时间】:2011-07-19 20:18:43
【问题描述】:
我有两个使用 asp.net MVC3 构建的 Web 应用程序。我想使用自定义域在本地运行它们,并且在 url 中没有任何端口号。无需担心远程访问等。这仅适用于本地开发环境
例如:
htp://app1.cc.com-->Application1
htp://app2.cc.com-->Application2
我需要类似 htp://app1.cc.com/questions/4709014/using-custom-domains-with-iis-express 的东西
目前我的网址是http://localhost:34752/questions/4709014/using-custom-domains-with-iis-express
我按照这个问题中的步骤操作:
Using Custom Domains With IIS Express
但这是使用保留端口 80,这很好,但 如何与两个应用程序共享此端口?
【问题讨论】: