I am currently trying to setup two subdomains for two separate applications running from one Tomcat server and I am having a hard time getting it going.
Without the
Add this to your Apache web server config:
ServerName youtrack.url.com
JkMount / tomcat
JkMount /* tomcat
ServerName confluence.url.com
JkMount / tomcat
JkMount /* tomcat
And this to your Tomcats server.xml:
For a single webapps directory (applications deployed with their domain names, see "docbase"):
For separate webapps directories (applications deployed as "ROOT"):