title: tomcat different context path of one webapp based on domain
body: <p>I've got one web application, and I want it to be hosted on two different context paths. There is no problem with that</p>
  
  <pre><code>&lt;Context docBase="myapp" path="/address1" /&gt;
  &lt;Context docBase="myapp" path="/address2" /&gt;
  </code></pre>
  
  <p>But I want it to be based on domains, for example:</p>
  
  <ul>
  <li>/address1 for localhost1</li>
  <li>/address2 for localhost2</li>
  </ul>
  
  <p>Also I want this application to be hosted in single instance (not one for /address1 and another for /address2 ).</p>