noogai93's picture

Hi,

I've successfully installed Gitlab in a Vmware Workstation VM, i have it set to be bridged and emulate physical connection, it uses dhcp which sets its static ip automatically from the router.

The ip address is 192.168.1.15, i can access gitlab from the web browser using the ip (locally).

What i actually want to do is be able to access my gitlab remotely via a domain name (use it like one normally would) e.g. host.domain.com (this is an example not my real one).

I have my ports forwarded correctly and it works for other services but i'm not sure how to configure the gitlab appliance to work for a domain.

What i have done is edit the nginx/sites-enabled/gitlab to:

 

server {
    listen 192.168.1.15:80;
    server_name host.domain.com;
    include /etc/nginx/include/gitlab-proxy;
}
 
But it does not seem to work.
 
Does anyone have any insight ?
Forum: 
Tags: 

Add new comment