hostname access in gitlab

How To Change Gitlab IP URL With Hostname

How To Change Gitlab IP URL, If you want to access Gitlab Server with hostname instead of IP address, So it can be done. You just need to Point the IP address to Host-name in DNS Server. You can change the host-name, and URL with external gitlab URL not working.  

Check OutHow To Configure Samba Server For File Sharing

I have made an entry in /etc/hosts because I do not have a DNS server configured here. You can do the same if you do not have DNS Server can also buy a domain name and configure this with gitlab IP and access with the domain name.  

Check Out: Merge Branch In Git

Make an Entry in Host file

vim /etc/hosts

{Ipaddress host-name }

gitlab external url

Check OutHow To Enable And Disable htaccess In Apache Web Server

Now make changes in Git-lab file at the location /etc/gitlab/gitlab.rb and look for external_url

Changed it to

external url gitlab

To make changes in a file run,

gitlab-ctl reconfigure

Check Out: Redirection HTTP To HTTPS In Giltab

As you can see git-lab has been now accessible with host-name

gitlab hostname change

YouTube Link : Change Gitlab URL

You’re done gitlab url not working gitlab external url gitlab change hostname Gitlab Server with hostname


Please enter your comment!
Please enter your name here