[This is preliminary documentation and subject to change]

Create Web Site (mkw3site)

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 ADDRESSThe 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 DIRECTORYFull path to the root directory for the new server.
SERVER COMMENTThe name that appears in the Microsoft Management Console (MMC).
ADMINISTRATORUser name of the person who will be assigned as administrator of the server.
PORT NUMThe number of the port to which the new server should bind.
HOST NAMEThe host name to assign to this site.
WARNING: Only use host name if DNS is set up to find the server.
DONTSTARTSpecifying 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


© 1997-2001 Microsoft Corporation. All rights reserved.