title: How to serve other vhosts next to Gitlab Omnibus server? [Full step-by-step solution]
body: <p>I installed <strong>Gitlab CE</strong> on a dedicated Ubuntu 14.04 server edition with <strong>Omnibus package</strong>.</p>
  
  <p>Now I would want to install three other <strong>virtual hosts</strong> next to gitlab. </p>
  
  <p>Two are node.js web applications launched by a <code>non-root user</code> running on two distinct <code>ports &gt; 1024</code>, the third is a PHP web application that need a web server to be launched from.</p>
  
  <p>There are:</p>
  
  <ul>
  <li>a private bower registry running on <code>8081</code> (<code>node.js</code>)</li>
  <li>a private npm registry running on <code>8082</code> (<code>node.js</code>)</li>
  <li>a private composer registry (<code>PHP</code>)</li>
  </ul>
  
  <p>But <strong>Omnibus listen 80</strong> and doesn't seem to use neither Apache2 or Nginx, <strong>thus I can't use them to serve my PHP app and reverse-proxy my two other node apps</strong>.</p>
  
  <blockquote>
    <p>What serving mechanics Gitlab Omnibus uses to <code>listen 80</code> ?
    How should I create the three other virtual hosts to be able to provide the following vHosts ?</p>
    
    <ul>
    <li><code>gitlab.mycompany.com</code> (<code>:80</code>) -- already in use</li>
    <li><code>bower.mycompany.com</code> (<code>:80</code>)</li>
    <li><code>npm.mycompany.com</code> (<code>:80</code>)</li>
    <li><code>packagist.mycompany.com</code> (<code>:80</code>)</li>
    </ul>
  </blockquote>