List of Topics

SfC Home > Web Design > SQL > ColdFusion >

 

Explanation of Setting Up ColdFusion Studio. Key words: Allaire, web server software, personal web server, ColdFusion Enterprise Server, Spectrum, Internet service provider, School for Champions. Copyright © Restrictions

Setting Up ColdFusion Studio

by Ron Kurtus (revised 9 August 2000)

Before developing ColdFusion applications on your PC using Windows 95 or 98, you must prepare your computer to use web server software, install and configure the ColdFusion software, and finally verify everything is working properly.

Questions you may have include:

This lesson will answer those questions.



Prepare before installation

When using ColdFusion Studio on your PC, you are simulating interfacing with your Internet service provider (ISP). Thus, before you install ColdFusion Studio in Windows 95 or 98, you must first verify that you have the TCP/IP protocol working and install web server software.

These requirements are not explained in the documentation received with the software. A better explanation is given in The ColdFusion Web Application Construction Kit book (see Resources).

Verify TCP/IP working

Your operating system must have the TCP/IP protocol installed to run web services. The way to check that is to first right-click Network Neighborhood and select Properties. TCP/IP should be listed.

Then to verify that TCP/IP is installed and operating, go to DOS and type: ping localhost. You should get replies from your local host Web address at 127.0.0.1 that verify TCP/IP is working.

Install web server software

To test the code you have developed, you want to simulate interfacing with your Internet service provider (ISP). To do this, you must have web server software installed and operating locally on your PC. Also, this is necessary since the ColdFusion server works as an add-on to your web server software.

Choose web server

You can use such web server software as Apache or use the Microsoft Personal Web Server, which is usually included on your Windows CD-ROM.

I used the Personal Web Server for my work. The default home directory for the Personal Web Server is C:\inetpub\wwwroot, but since my web development area is under C:\My Webs, I designated that as my home directory.

Verify it works

You can verify the web server is working by accessing http://localhost or http://127.0.01/ on your browser, provided you have index.htm or default.htm in the home directory.

Install ColdFusion Studio

The ColdFusion Studio 4.5 CD-ROM setup lists Studio, Enterprise Server and Spectrum as possible items to install.

ColdFusion Studio

Studio is the web development tool that can be used for ColdFusion development, as well as standard HTML page development. Installation is straightforward, following the wizards.

ColdFusion Enterprise Server

In order to view local ColdFusion pages on your browser, you need to have the ColdFusion server software installed to work in coordination with your web server software. This is not obvious according to the documentation that came with the software.

ISP needs server

A single user version comes with ColdFusion Studio. Your ISP must purchase and install the proper version of ColdFusion server for your pages to work over the Internet. The same is true for companies using ColdFusion on an Intranet.

Placement of files

During installation, ColdFusion asks to place the files in C:\Cfusion or another location. To avoid clutter in my directory system, I tried to use C:\Program Files\Cfusion, but an alert said that spaces were not allowed, so I left it in the default location.

Also during installation, ColdFusion asks to identify which web server you have installed and its root or home directory. In reality, if you choose a different directory, the Welcome to ColdFusion 4.5 file and ColdFusion Administrator will not work. You must accept the default. The files were placed under C:\My Webs\ in my configuration.

ColdFusion Spectra

The installation of Spectra is straightforward and automatic.

Verify everything works

After everything is installed, you can test to verify the installation is complete by displaying the Welcome to ColdFusion 4.5 file. But first you may need to make some adjustments to get things to work properly.

  1. Configure your web server
  2. Test installation

Configure web server

The most important thing is to see that the Microsoft Person Web Server (PWS) is configured for the correct virtual directories under your home directory. The installation should set up the ColdFusion document, administration and example files in the PWS.

You will need to configure the PWS for any directories used in your ColdFusion development. You do this by clicking on the PWS icon on your toolbar or through Start > Programs > Accessories > Internet Tools. The Personal Web Manager displays. Select Advanced to see a tree of your virtual directories for your PC-based web site. You can edit the properties or add new items.

When adding a new item, you must enter the complete path on your C-drive and then provide the directory with an alias.

Also, I added the directories in my development web sites where I planned to have ColdFusion files.

Test the installation

Go to the Welcome to ColdFusion 4.5 shortcut in your ColdFusion Server program list. Choose Test your Installation to verify ColdFusion is working on your PC.

Summary

You must verify you have the TCP/IP protocol set up, install and configure your web server software on your PC for the directories you will be using under your home or root web directory. Then you can install the ColdFusion components and verify everything is working properly. If anything is different from the default settings, adjustments must be made.


Set up things properly


Resources and references

Ron Kurtus' Credentials

Websites

ColdFusion Resources

Books

Top-rated books on ColdFusion


Questions and comments

Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. I will try to get back to you as soon as possible.


Share

Click on a button to bookmark or share this page through Twitter, Facebook, email, or other services:

 

Students and researchers

The Web address of this page is:
www.school-for-champions.com/coldfusion/setup.htm

Please include it as a link on your website or as a reference in your report, document, or thesis.


Where are you now?

School for Champions

Web Design

ColdFusion topics

Setting Up ColdFusion Studio 4.5




ColdFusion topics

Basics

Development methods

Specific applications

Also see



Let's make the world a better place

Be the best that you can be.

Use your knowledge and skills to help others succeed.

Don't be wasteful; protect our environment.

You CAN influence the world.





Live Your Life as a Champion:

Take care of your health

Seek knowledge and gain skills

Do excellent work

Be valuable to others

Have utmost character

Be a Champion!



The School for Champions helps you become the type of person who can be called a Champion.