Hi All, i have it.
-------------------------------------------
object[] serverBindings = new object[1];
// ":[port]:[hostheader]
serverBindings[0] = ":80:domain.de";
// "IIS://[server]/W3SVC/[websiteID]"
System.DirectoryServices.DirectoryEntry website = new...
Hi,
I want to set IIS host heades programatic (.NET-Code).
I have a Website, which enables personalized access through subdomain. I use host headers for that purpose. Because of having about 1 to 5 host header changes each day, I decided to write a tool (ASP.NET Website) for administration...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.