Overview
This Open Source VBScript takes two arguments:
- Serverbinding
- Servercomment
to create a new serverbinding (hostheader) for the requested Web site. Using the Server Comment the program will find the Web site and create the new Server Binding. The Server Binding will be available immediately.
(ServerName is a third "optional" argument)
The Serverbinding is of the type:
- IP:PORT:HOSTHEADER
- 214.213.111.122:80:new.hostheader.com
The ServerComment is the comment that was defined when the Web site was created.
Presently this program can ADD or "APPEND" a serverbinding to a Web site that has LESS THAN 5 existing serverbindings. You can easily alter the program to ADD or APPEND a new serverbinding to a Web site that has more than 5 by making a few changes to the ADD MORE SERVER BINDINGS section in the documented code.
Features/Benefits
- Command line driven simply provide the two arguments and AddToBindings will do the rest.
- Portability Use this program to sync up other IIS servers. Create the script, run it on one server then copy it to other servers to create the exact same config there.
- Smart runs from a command line or from a web page.
- Fast Create a form and have your hosting clients enter the new host header they want, AddToBindings will do the rest.
What it will not do
The program will not check to see if the new host header you are adding is a duplicate. It will just add it. But, since you receive FULL SOURCE code you can add any feature you'd like. And, even if the added host header is a duplicate, it will not stop IIS, or the Web site, from running.
What does the commandline look like?
addtobindings -h serverbinding -c serverComment -s serverNameSorry, this program cannot be downloaded. It is 100% source code and to allow a download we would lose any remaining value in the program.

