You might want to set up ColdFusion in a distributed environment where ColdFusion is running on one machine and Web server is running on a different machine.
Following are the set of steps that have to be performed to achieve this (less error-prone):
This applies generally to both ColdFusion 10 and ColdFusion 11 and beyond.
1) Have ColdFusion server installed in a machine (machine 1).
2) On machine with web server (machine 1), download and install VC Runtime if not already installed.
– The version of VC Runtime that you have to install depends on the version of ColdFusion.
Say, ColdFusion 11 needs VC Runtime 2012
(32-bit VC Runtime for 32-bit Web server and 64-bit VC Runtime for 64-bit Web server.
If you are not sure, you can install both)
and ColdFusion 10 needs VC Runtime 2010
3) Copy the following contents from the machine 1 (where ColdFusion is running) to machine 2 (where the Web server is running), and place them in the same location on machine 2.
4) Open a Command prompt on machine 2 and run the CF wsconfig tool:
C:\ColdFusion11\jre\bin\java -jar cfusion\runtime\lib\wsconfig.jar
It will open a configuration window where you have to provide AppServer Host as the ColdFusion Server IP or machine name.
Configure the connector, which will restart the webserver.
Distributed environment is ready for use. Send requests to the Web server’s URL with cfm files under web server root and the same files under ColdFusion’s Webroot.
The web server would redirect these to ColdFusion, which is on some other machine.