title: Node JS return hostname
body: <p>I'm still learning Node JS and javascript and have an app.  I have a configuration file where I need to grab the hostname of the server on Ubuntu 12.04</p>
  
  <p>I tried something like:</p>
  
  <pre><code> window.location.hostname
  </code></pre>
  
  <p>But that did not work.  Sample code below:</p>
  
  <pre><code>exports.config = {
      app_name : [ window.location.hostname ]
  }
  </code></pre>
  
  <p>If I use a string, it will load fine, but this is going to be managed through Github and needs to be differentiated when the app loads.</p>