通配符子域在IIS7。是否有可能使他们像它在Apache的? [英] Wildcard subdomains in IIS7. Is it possible to make them like it is in Apache?

查看:194
本文介绍了通配符子域在IIS7。是否有可能使他们像它在Apache的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是可能的IIS7配置来实现,如Apache相同的功能就已经通配符域?我感兴趣的是基于在URL中使用子域名的用户在ASP.NET Web应用程序的路由用户。

Is this possible to configure IIS7 to achieve the same functionality like Apache has regarding wildcard domains? I'm interested in routing user in ASP.NET web application based on subdomain user used in URL.

喜欢的东西在这里描述:

Something like is described here:

<一个href=\"http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain\">http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain

感谢

推荐答案

答案是否定的,IIS7(仍然)不支持通配符主机名(见的)。如果你想为在一个网站上,目前唯一的解决方法多域,如notandy建议,使用专用IP和DNS做它,它不支持通配符。

The answer is No, IIS7 (still) does not support wildcard hostnames (see this). If you want to serve multiple domain on one website, the only workaround for now, as notandy suggested, is using a dedicated IP and doing it with DNS, which does support wildcards.

有关完整性,IIS8还不具备这一功能无论是。

For completeness, IIS8 does not yet have this feature either.

这篇关于通配符子域在IIS7。是否有可能使他们像它在Apache的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆