title: running multiple java jetty instances with same port (80)
body: <p><strong>For Example:</strong></p>
  
  <p>I am having one primary temp domain</p>
  
  <pre><code>www.product.com
  </code></pre>
  
  <p>For each client i need to have separate sub domain mapped to same server with same port(80) but with different  instance name (different .wars files)</p>
  
  <pre><code>www.client1.product.com
  www.client2.product.com
  www.clientn.product.com
  </code></pre>
  
  <p>(correct me if i am wrong) As i know if i start jetty instance , each will start at seperate port no's</p>
  
  <pre><code>client1 war will start at port 3001
  client2 war  will start at port 3002
  client3 war will start at port 3003
  </code></pre>
  
  <p>What my question is how do i map all the instances with port 80 with appropriate identical sub domains</p>
  
  <p>if i access</p>
  
  <p><code>www.client4.product.com</code> , i need to get jetty app running in port 3004</p>
  
  <p><strong>Update:</strong></p>
  
  <p>for more understanding of my architecture , if client2 jetty instance running on port 3002 went to down state due to runtime exception or memory leakage or manual restart , all other jetty instances running independently (similar to architecture behind google appengine uses jetty)  </p>