Search code examples
ubuntunginxsubdomaingitlab

Gitlab omnibus external url not working


This is my /etc/gitlab.rb file :

enter image description here

I've ran sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart. Yet, when I go to http://gitlab.hop-child.com I get a ERR_NAME_NOT_RESOLVED. However, http://hop-child.com brings me to GitLab...

What am I doing wrong? Restarting my whole server isn't really an option.


Solution

  • The error you're receiving, ERR_NAME_NOT_RESOLVED, is a DNS error. Couple that with the fact that GitLab works on the base domain, and I'd say that you probably forgot to setup the DNS record for your subdomain.