Does your CFML have to be on the same machine as CF Server?

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Can I store my HTML/CFML code on the web server and have a different machine process the CFML, or am I better off having the CF server on the same machine as the front end HTML?
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
ColdFusion has to be on the same machine as IIS or whatever webserver you are using to serve up HTML. However, you can store the physical CFML files on separate server and map a virtual directory on the webserver to their location if you wish.
 

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
Is this a good plan? Single Machine running Apache on Windows 2003 plus Coldfusion Server. Use a CF Cache module to cache the HTML in RAM to free up the machine for processing other CFML stuff. Yea or No? Any better ideas? Please help....
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
What exactly are you asking for advice on? I know that ColdFusion is a RAM hog, so be sure that your server has an adequate amount. There are a number of sites and books dedicated to tweaking CFML code for efficiency; you should find them and read them. Other than that, you'll need to be more specific about your implementation and what type of site you are trying to run.