I’d like to migrate a gitlab installation from RH6 to RH7.
the installation is using a DNS alias “git.example.com”.
I have the saem gitlab version in both servers (8.16.5-ce.1 omnibus install) and I’ve restored a backup from the old server to the new one. So far so good.
In order to check that everything looks the same in the new server I’ve changed the external_url in the new server (/etc/gitlab/gitlab.rb) so it matches the server hostname:
then reconfigure the service with the command:
When I open the browser and I enter the URL ‘https://new_hostname’ I get redirected to https://git.example.com (old server still in use).
How can I make the new installation to not redirect me to the git alias?