Currently whenever a new subdomain is created for the site, a new host header value needs to be added manually in IIS for it to work (needs to work with and without SSL). Is there a way to set host header value via API so that subdomains can be created without human intervention?
Share
For IIS 6, WMI will do the trick. Here’s an example on Technet/MSDN:
-Oisin