TurnKey Linux Virtual Appliance Library

Gitlab - domain access remotely.

zarkisalleh1's picture


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, 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 {
    server_name host.domain.com;
    include /etc/nginx/include/gitlab-proxy;
But it does not seem to work.
Does anyone have any insight ?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)