Installing GitLab and running it on a subdomain
I am struggling to find the right solution to this. So, okay, I have a dedicated server with Hostgator running on Cent OS. I followed the instructions here and followed these steps:
curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.6.2_omnibus.5.3.0.ci.1-1.el6.x86_64.rpm
sudo yum install openssh-server
sudo yum install postfix
sudo yum install cronie
sudo service postfix start
sudo chkconfig postfix on
sudo rpm -i gitlab-7.6.2_omnibus.5.3.0.ci.1-1.el6.x86_64.rpm
I did all this in my root directory. Now this may seem like a very silly question, but what I'm trying to figure out is 2 things:
- How can I access the interface? What URL should it be accessed by default?
- Can I get it on a subdomain?
I followed many links but did not clearly understand any of them, just adding a few links from SO for reference:
- How to set up GitLab as a subdomain in nginix.conf
- How do I change the URL of a working GitLab installation?
- Install GitLab on a subdomain
Now this may be a very simple question, but I believe I am struggling with the basics here and any help here would really be appreciated.
source to share
You are using the omnibus package, which means the configuration is in /etc/gitlab/gitlab.rb
. Read the documentation if you haven't already. For the subdomain, check the nginx section .
source to share