title: Tomcat with SNI running same WAR file
body: <p>I have been using IIS for a number of years now and would like to switch over to Tomcat (to serve a WAR file). I have multiple organizations all running the same codebase but their data, settings, login information, etc. is all distinctly different and stored in different directories. IIS supports SNI, and I know Tomcat does as well, but I have no clue how I would set that up.</p>
  <p>A pointer to a link explaining how to do just that (Googling has not helped - I've come across multiple posts about serving multiple certificates, which I'll also need to do, but not an answer to the base question) or examples shown here would be extremely helpful and appreciated.</p>
  <p>For clarity purposes:</p>
  <ul>
  <li><a href="http://www.companyA.com" rel="nofollow noreferrer">www.companyA.com</a>, <a href="http://www.companyB.com" rel="nofollow noreferrer">www.companyB.com</a>, <a href="http://www.companyC.com" rel="nofollow noreferrer">www.companyC.com</a> are all distinctly separate users</li>
  <li>their web pages are distinctly different from each other</li>
  <li>the REST calls all go to the same engine, but the engine reads some data from the user's directory to know which database to use to serve the requested data</li>
  </ul>