Accessibility

ColdFusion Article

Installing and Configuring ColdFusion MX 6.1 Multiple Instances with IIS and Apache Virtual Hosts


Brandon Purcell

Brandon Purcell

 

Table of Contents

  1. Introduction
  2. Installing ColdFusion MX 6.1 Enterprise with the J2EE Configuration
  3. Creating Multiple Instances of ColdFusion
  4. Configuring Your Web Server

This article explains the process of creating multiple instances with ColdFusion MX 6.1 Enterprise and configuring multiple instances to both Microsoft Internet Information Services (IIS) and Apache using virtual hosts. By running ColdFusion in multiple instances instead of a single instance on a single machine, you can:

  • Isolate applications to ensure high availability.
  • Isolate applications for security.
  • Fine-tune each website with its ColdFusion server instance.

For more details on advantages of using multiple instances, read my article, Advantages for Using Multiple Instances for ColdFusion MX and Tim Buntel's article, Introducing Multiple Server Instances in ColdFusion MX Enterprise 6.1.

Now that you know why you should use multiple instances, the question is: How do you do it? In this article, I outline a step-by-step process—installing ColdFusionMX 6.1, creating new instances of JRun, deploying ColdFusion to the new instances, and configuring each new instance to the external web server.

Requirements

To complete this tutorial you will need to install the following software and files:

ColdFusion


Additional information:

To best illustrate configuring multiple instances, you will configure two instances of ColdFusion and connect these instances to three sites in IIS and three Apache virtual hosts. Figure 1 demonstrates the configuration you will use with Apache. Virtual Host 1 will have its own ColdFusion instance while Virtual Hosts 2 and 3 will share the second ColdFusion instance. This approach gives mission-critical sites their own instances, while a site with less traffic shares instance with other virtual hosts. Figure 2 shows the same model using IIS.

Three Apache virtual hosts connected to two instances of ColdFusion

Figure 1. Three Apache virtual hosts connected to two instances of ColdFusion

Three IIS sites connected to two instances of ColdFusion

Figure 2. Three IIS sites connected to two instances of ColdFusion



About the author

Brandon Purcell is a principal support engineer at Macromedia with over seven years of experience with developing, maintaining, and supporting web-based applications. Brandon has been working with ColdFusion for over six years and has over two years of experience with J2EE and Macromedia JRun.