Summary: | Create a web site (virtual web server). | |
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 machines with the same settings. If no machine is specified, LocalHost is assumed. |
|
ROOT DIRECTORY | Full path to the root directory for the new server. | |
SERVER COMMENT | The server comment – this is the name that appears in the MMC. | |
ADMINISTRATOR | Username 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.mynewwebsite.com