How do we change the URL of a working GitLab install?

GitLab Omnibus

For an Omnibus install, it is a little different.

The correct place in an Omnibus install is:

    external_url ''

Finally, you’ll need to execute sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart so the changes apply.

I was making changes in the wrong places and they were getting blown away.

The incorrect paths are:


Pay attention to those warnings that read:

# This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.

Leave a Comment