Wildcard subdomains in IIS7. Is it possible to make them like it is in Apache?

前端 未结 6 928
情话喂你
情话喂你 2020-12-02 10:11

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 b

6条回答
  •  佛祖请我去吃肉
    2020-12-02 10:36

    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.

    2013 Update

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

    2016 Update

    Finally, IIS 10 in Windows 2016 supports wildcard subdomains.

提交回复
热议问题