title: Combine multiple node.js web applications
body: <p>I'm trying to figure out the best way to accomplish this; essentially I have about 6 websites I have to get online but at the moment they will have next to zero traffic so to save money they need to be deployed on the same server (ideally we will be using Elastic BeanStalk from AWS).</p>
  
  <p>Is there a way to essentially write each web application like normal (so they can easily be taken and moved to a dedicated server in the future) but have one app.js entry point that appropriate loads the node application depending on the URL?</p>
  
  <p>Obviously this isn't ideal but and I've thought of a couple of ways to do this but I want to be as non-hacky as possible so the sites can easily be moved later.</p>