title: Tomcat 7 - 2 hosts, 2 apps
body: <p>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 &amp; Beta).  I have 2 A-Records on the same domain (Alpha.domain.com &amp; 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).</p>
  
  <p>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).</p>
  
  <p>My server.xml contains the following regarding hosts:</p>
  
  <pre><code>  &lt;Host name="localhost"  appBase="webapps"
          unpackWARs="true" autoDeploy="true"&gt;
    &lt;/Host&gt;
  
    &lt;Host name="alpha.domain.com"  appBase="alpha"
          unpackWARs="true" autoDeploy="true"&gt;
    &lt;/Host&gt;
  
    &lt;Host name="beta.domain.com"  appBase="beta"
          unpackWARs="true" autoDeploy="true"&gt;
    &lt;/Host&gt;
  </code></pre>
  
  <p>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!</p>