Sun ONE Web Server, iPlanet, and Netscape



When you use Sun ONE Web Server version 6, you use the Server Administrator to create virtual servers and run the Web Server Configuration Tool. You store ColdFusion pages under the web root of each virtual server.

Note: For earlier versions of Sun ONE/iPlanet and Netscape Enterprise Server (NES), create separate server instances for each site and run the Web Server Configuration Tool once for each site.

Connect multiple Sun ONE Web Server virtual hosts to a single ColdFusion server

  1. Using the Sun ONE Web Server Administrator, create virtual web servers for ColdFusion to use. For more information, see your Sun ONE Web Server documentation.

  2. Configure DNS for each virtual website, as described in your web server documentation.

  3. Test each virtual server to ensure that HTML pages are served correctly.

  4. Run the Web Server Configuration Tool, as follows:

    • GUI - Specify Netscape Enterprise Server/Sun ONE for the web server, specify the directory that contains the obj.conf and magnus.conf files, and select the Configure Web Server for ColdFusion Applications check box.

    • Command line - Specify -wssunone and the directory that contains the obj.conf file, as the following example shows:

      cf_root/runtime/bin/wsconfig -ws sunone -dir [path to config]  
      -cfwebroot cf_root/wwwroot -coldfusion -v
  5. Test each virtual server to ensure that ColdFusion pages are served correctly.