I would like to set up an admin page (ASP.NET/C#) that can add IIS host headers to the website that hosts the admin page. Is it possible?
I donβt want to add an http header - I want to mimic the action of logging into IIS manually by invoking website properties, dragging and dropping the advanced ones on the website tab, as well as on the extended website identification screen and the new βidentityβ with the host header value, IP address and TCP port.
source share