Create Web Site (mkw3site)
Summary: Create a web site (virtual web server).
Usage:
Prototype |
|
mkw3site |
<--RootDirectory|-r ROOT DIRECTORY> <--Comment|-t SERVER COMMENT> [--computer|-c COMPUTER1[,COMPUTER2...]] [--HostName|-h HOST NAME] [--port|-o PORT NUM] [--IPAddress|-i IP ADDRESS] [--admin|-a ADMINISTRATOR] [--DontStart] [--help|-?]
|
Arguments |
|
IP ADDRESS |
The IP Address to assign to the new server. Optional. |
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. |
HOST NAME |
The host name to assign to this site. |
PORT NUM |
The number of the port to which the new server should bind. |
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