Skip to main content
Participant
July 18, 2013
Question

CF10 How to change doc root on second instance

We have CF10 installed with two instances, cfusion and dev. There are lots of instructions on how to change the doc root by modifying the server.xml  file, which i did successfully on the cfusion instance. The server.xml file on the second instance, dev, looks entirely different from the first primary instance and has no context to set a different doc root and/or aliases.

Any clue how to change the doc root on a second instance?

Thanks,

Mike Oatsvall

P.S. there is a docroot global variable in the startup script for the dev instance. Which was not set. I tried setting that and restarted, no joy.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

snormoAuthor
Participant
July 18, 2013

Well, Even though there is no predefined context at the bottom of server.xml I just copied the same directives from the primary instance and modified the pathing and it works!

Now we know....

Translate