title: Meteor: How to get the hostname, server side
body: <p>On the client I can use <code>window.location.hostname</code> to get the hostname. How can I get the same on the server?
  I need this to work behind an Apache proxy, unfortunately <code>Meteor.absoluteUrl()</code> gives me <code>localhost:3000</code>. I also want it to work for different domains, I want one Meteor app that gives different results for different domains.</p>
  
  <p>This question is somewhat related: <a href="https://stackoverflow.com/questions/7507015/node-js-get-server-hostname-of-current-process">Get hostname of current request in node.js Express</a></p>