title: Install Omnibus Gitlab on subdomain
body: <p>I'm trying to install GitLab on an existing server that's running CentOS 6.5 and Apache as the web server. The gitlab service should be accessible through a sub-domain. I'm using the Omnibus installation package. After installation I create the gitlab.rb configuration file:</p>
  
  <pre><code>sudo mkdir -p /etc/gitlab
  sudo touch /etc/gitlab/gitlab.rb
  sudo chmod 600 /etc/gitlab/gitlab.rb
  </code></pre>
  
  <p>and add:</p>
  
  <pre><code>external_url "http://gitlab.the_domain.com"
  </code></pre>
  
  <p>for the sub-domain url. After restarting and reconfiguring GitLab, when I go on "domain.com" it shows the GitLab login page and not the website that should be shown.</p>
  
  <p>Is there a way to fix this and use GitLab on the sub-domain, and the main site on the domain using the Omnibus installation package?</p>