Use the IIS Create Web Site action to create a new web site. The Create Web Site action also creates a root virtual directory.
Choose the hostname of the IIS Server on which to create the web site.
Description specifies a ServerComment property for the web site (in other words its name.) Web sites are identified either by this property or their index number.
If this option is checked, the action will fail if another web site already has this description.
If this option is checked, a web site with this name will be overwritten and replaced with the new site. The new web site will have the same index number as the old site.
If neither Fail nor Delete is selected, a new web site will be created even if it has the same description as a pre-existing one.
Specify a directory local to the server on which to create the root virtual directory. Set the permissions for this directory on the Permissions tab.
If this option checked, the new web site will be switched to the Running state after creation.
Even if this fails (most likely because another running web site is bound to the same host/server/port), the new web site is still created (in the Stopped state), but the action will fail.
For fine-grained control over failure (ie for use in Try...Catch blocks), use a separate Start Web Site action.
You can specify a specific IP, hostname, or Port combination to bind the new server to. Leave values blank to match all-inclusive wild cards.
If any of these values overlap with an existing web site, the two cannot be run concurrently.
Set the permissions for the new web site's root Virtual Directory.