I've run into something which would be nice to do. I've done a search on the web but couldn't find anything specific. Is there a way in which I can interact with IIS from an ASP script to set up a host header on a particular website?
Also, can similar methods be used to set up a complete website in IIS?
Thanks Huwr, that is one piece of wicked stuff that web interface. I would not leve it on the server unless you have real good security. I got the web pages from: www.adsi4nt.com and it was so simple to get working.
I am able to add, start/stop web sites and create/delete users. You need to setup execute permissions on the directory you have you files in with-in IIS before it works properly.
WOW, that thing is great. All the code is right there. Now I can do even more than I initially wanted. Say, what's going to stop just anyone with a website from uploading this code and using it on thier hosting plan? It does have me worried in that sense.
because it will only work if the directory you install it to runs in the context of an admin, so if you just uploaded it to your webserver and ran it, most of the functions would not work.
Ah I see, yea I found that out I guess while trying to use bits and parts of the code to do what I wanted on my page. Need to authenticate with admin account to edit things.