title: External URL must include a FQDN
body: <p>I set up a fresh CentOS 6.6 install and used the Omniubus installer for the CE of Gitlab.</p>
  
  <p>When running <strong>gitlab-ctl reconfigure</strong> I get the following errors:</p>
  
  <pre><code>================================================================================
  Recipe Compile Error in /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb
  ================================================================================
  
  
  RuntimeError
  ------------
  External URL must include a FQDN
  
  
  Cookbook Trace:
  ---------------
    /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb:95:in `parse_external_url'
    /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb:191:in `generate_config'
    /opt/gitlab/embedded/cookbooks/gitlab/recipes/default.rb:34:in `from_file'
  
  
  Relevant File Content:
  ----------------------
  /opt/gitlab/embedded/cookbooks/gitlab/libraries/gitlab.rb:
  
   88:  
   89:      def parse_external_url
   90:        return unless external_url
   91:  
   92:        uri = URI(external_url.to_s)
   93:  
   94:        unless uri.host
   95&gt;&gt;         raise "External URL must include a FQDN"
   96:        end
   97:        Gitlab['user']['git_user_email'] ||= "gitlab@#{uri.host}"
   98:        Gitlab['gitlab_rails']['gitlab_host'] = uri.host
   99:        Gitlab['gitlab_rails']['gitlab_email_from'] ||= "gitlab@#{uri.host}"
  100:  
  101:        case uri.scheme
  102:        when "http"
  103:          Gitlab['gitlab_rails']['gitlab_https'] = false
  104:        when "https"
  </code></pre>
  
  <p>The FQDN of the server is correctly set, I have an external IP. DNS is configured for the FQDN to point at my external IP.</p>
  
  <p>Here's the contents of my <strong><em>/etc/gitlab/gitlab.rb</em></strong> in case that is useful:</p>
  
  <pre><code># Check and change the external_url to the address your users will type in their browser
  external_url 'gitlab.thefallenphoenix.net'
  gitlab_rails['gitlab_email_from'] = 'gitlab@thefallenphoenix.net'
  </code></pre>