Search code examples
gitlabgitlab-ce

How to change default Clone URL in Gitlab Community after changing IP Address


Previously, I have gitlab community server installed in my server with this IP 192.168.1.X, and I'm using it with no problem. But recently my network administrator change the server IP to different using 10.176.10.X. And when I trying to clone my projects from it, the default URL for clone still using the old IP number. How to change this default IP for cloning?enter image description here Note : I can access my gitlab server as root.


Solution

  • I found the answer, that is to go to gitlab config file and change the external url property to the new IP Address. and then reconfigure and restart