Make a CF template which reads a csv file or other type of seperation
file
and then calls the following line and fills in the relevant parameters
using
CFExecute.

Copy the Mkw3site.vbs file to a known place. i.e. C:\

CScript C:\Mkw3site.vbs -v -r d:\someplace -t NewServer -h
new_www.domain.com

The vbs script can be found in:
x:\Inetpub\AdminScripts (Where x: is the Dribe/path where IIS is
installed...


Just be warned that it creates the site as a Low(IIS Process) with Read
only rights. You will have to use chaccess.vbs to change Access
Restrictions for each site as well.

(see http://localhost/iishelp/iis/htm/adminsamples/default.htm)

>From the MS IIS Documentation for mkw3site.vbs)

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 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


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 03, 2001 11:33 PM
To: CF-Talk
Subject: OT: What a hustle to install 400-500 subdomains



Hi,
a customer wants 400-500 subdomains of one domain to access via http.
Each heading to a different base-web-root. We run virtual domains (HTTP
1.1) on one IP-adress. We have IIS 4 and NT 4.

Is there a tool, to automize the installation of one sub-domain ?
Anybody who knows how the customer could possibly could do it by himself
? Thanks.

Uwe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to