I implemented a URL rewriter which worked reasonably well, but now I am creating other sites on the same server (single IP). Because IIS will not accept subdomain wildcards (*.subdomain.co m), it resolves the subdomain traffic back to the default site (e.g. the site with empty host header). From there it is possible to rewrite and pass the traffic back to correct web app and use the referring agent to get original url, but this gets messy in practice.
So I am looking for way to programmaticall y create/remove the host header records for the subdomains. Is there any programmatic interface to IIS, or some file to plug the header values directly?
Thanks,
Lauren
So I am looking for way to programmaticall y create/remove the host header records for the subdomains. Is there any programmatic interface to IIS, or some file to plug the header values directly?
Thanks,
Lauren
Comment