Summary:
Creates a Web site.
Usage:
mkw3site | <--RootDirectory|-r ROOT DIRECTORY> <--Comment|-t SERVER COMMENT> [--computer|-c COMPUTER1[,COMPUTER2...]] [--port|-o PORT NUM] [--IPAddress|-i IP ADDRESS] [--admin|-a ADMINISTRATOR] [--HostName|-h HOST NAME] [--DontStart] [--help|-?] |
Parameters:
IP ADDRESS | The IP Address to assign to the new server. (optional) |
COMPUTER1, COMPUTER2,... | List of computers on which to create this site. This is to be used when configuring mulitple computers with the same settings. If no computer is specified, LocalHost is assumed. |
ROOT DIRECTORY | Full path to the root directory for the new server. |
SERVER COMMENT | The name that appears in the Microsoft Management Console (MMC). |
ADMINISTRATOR | User name of the person who will be assigned as administrator of the server. |
PORT NUM | The number of the port to which the new server should bind. |
HOST NAME | The host name to assign to this site. WARNING: Only use host name if DNS is set up to find the server. |
DONTSTART | Specifying this argument forces the script not to start the Web server after creating it. |
Example:
Mkw3site -rootdirectory d:\someplace -t NewServer -hostname www.domain.com