So, I have installed GitLab CE on my server at work using the steps from GitLab’s install instructions for Debian 9. I changed every reference of gitlab-ee to gitlab-ce, due to the fact that I only wanted the ce edition. GitLab has installed and works in the browser when I type the servers IP address into the URL Bar, but now when I put the external_url that I set in /etc/gitlab/gitlab.rb.
The first external_url that I tried was gitlab.companyName.com, when that one did not work, I tried gitlab-companyName.com thinking that my browser would read the first one as an extension to our website. The second attempt also did not work. I even ran sudo gitlab-ctl reconfigure
between each time i changed the external_url.
I ran sudo ufw status
and the results are as follows:
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
SSH ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
SSH (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
I am at a loss of what is the possible cause to why my external_url does not work properly, but inputting the server’s Local IP address works. I would appreciate any help that helps me resolve this issue.