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:
http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain
Thanks
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.
For completeness, IIS8 does not yet have this feature either.
Finally, IIS 10 in Windows 2016 supports wildcard subdomains.