|
How do I configure multi-hosting?
You can control multi-hosting by modifying the EXT.INI file in the
BadBlue directory. Simply add the following lines to the bottom
of the EXT.INI file (remember, if the [SERVICES] line already exists in
the file, add the multi-hosting statements - the lines beginning with the
word host - in the existing services section):
[SERVICES]
host1=www.mydomain.com,d:\data\inetpub\wwwroot
host2=www.myotherdomain.com,g:\shared\webroot
host3=www.yetanotherdomain.com,i:\shared\content
The syntax of each host statement (which you can number from host1
to host100) is described below.
Note that the specified folder should not include a trailing backslash.
If a non-default port (i.e., a port other than 80) is specified, it should be
included in the host name. For instance, consider a situation in which the
server runs on port 8088. The sample configuration, above, would look like
this:
[SERVICES]
host1=www.mydomain.com:8088,d:\data\inetpub\wwwroot
host2=www.myotherdomain.com:8088,g:\shared\webroot
host3=www.yetanotherdomain.com:8088,i:\shared\content
Host statements take the form:
host#=[Host[:port]],[Folder-path]
The # signifies the unique host number (1 to n, which you assign
yourself). The Host is the applicable domain name or IP address. The
[:port] should be included if the server is not running on port
80. The Folder-path specifies the source of the content for the host.
Note that a trailing backslash should not be included.
|