I've searched the web (and here) and gotten 'almost' my answer, but nothing seems to work right. Basically, here is what I need: I have 2 webapps (Alpha & Beta). I have 2 A-Records on the same domain (Alpha.domain.com & Beta.domain.com). Now, as you guessed, I want to be able to have users go to alpha.domain.com and get the Alpha App (without using the subdirectory /alpha).
I have the DNS setup and pointing both A-Records to my server, but when I go to either address, I get a blank white screen (no errors, nothing).
My server.xml contains the following regarding hosts:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
</Host>
<Host name="alpha.domain.com" appBase="alpha"
unpackWARs="true" autoDeploy="true">
</Host>
<Host name="beta.domain.com" appBase="beta"
unpackWARs="true" autoDeploy="true">
</Host>
In an effort to stop confusion, I have webapps, alpha and beta folders in the Tomcat 7.0 folder (CATALINA_HOME). Currently, if I drop my WAR files in any of these folders, they do deploy...I just can't see them from the browser. I've stomped around context setup, but obviously, I'm lost. Thanks for any help!