User Guide

78 Chapter 6: Using Multiple Server Instances
3 Open the ColdFusion MX Administrator on the server instance using the built-in web server
(hostname:portnumber/CFIDE/administrator/index.cfm) and define the resources (such as data
sources and Verity collections) required for the application. Performing this step also ensures
that ColdFusion MX was deployed successfully.
4 Using your web-server-specific method, create a virtual website (or separate website) for the
application.
This is different for each web server; for more information, see “Multihoming” on page 65 or
consult your web server documentation.
5 Test each virtual website to ensure that HTML pages are served correctly.
6 Follow the instructions for your web server to configure the connection between your virtual
website and the server instance. For more information, see “Web server configuration for
application isolation” on page 78.
7 Store your application’s CFM files in the web root of the virtual website.
8 Test your application using the virtual website.
9 Test the ColdFusion MX Administrator. If you configured your web server during installation,
the CFIDE directory is under the original web root and you must copy it to each virtual website
or create a web server mapping to the original CFIDE directory.
10 Repeat these steps for each server instance.
Web server configuration for application isolation
When using multiple server instances for application isolation, the steps you perform to configure
communication between the website and the server instance differ by web server. This section
contains the following discussions:
Configuring application isolation in IIS
Configuring application isolation in Apache
Configuring application isolation in SunONE Web Server
Configuring application isolation in IIS
When using multiple virtual websites with multiple server instances under IIS, you define
separate filters and mappings for each virtual website/server instance combination.
This discussion assumes that you have already created server instances and virtual websites, as
described in “Enabling application isolation” on page 77.
To configure multiple server instances for application isolation when using IIS:
Run the Web Server Configuration Tool multiple times, once for each virtual website,
specifying a different site and server instance each time. For more information on running the
Web Server Configuration Tool, see “Using an external web server” on page 59.
Configuring application isolation in Apache
When using multiple virtual hosts with multiple server instances under Apache, you edit the
httpd.conf file manually.
This discussion assumes that you have already created server instances and virtual websites, as
described in “Enabling application isolation” on page 77.