Change domaine name

Hello,
First I apologize for my poor English.

I have a gitlab in production in VM: URL = https://gitlab.mydomaine.fr

and i want to clone the VM to make a test gitlab VM.
Test VM IP = 111.222.333.444

If I go to the ip http://111.222.333.444 with a browser (Firefox), I am automatically redirected to https://gitlab.mydomaine.fr

I changed the url in /etc/gitlab/gitlab.rb file
I modified external_url by adding the IP address of the test VM (http://111.222.333.444)

Then
sudo gitlab-ctl reconfigure
and
sudo gitlab-ctl restart

But I am always redirected to https://gitlab.mydomaine.fr
Are there any other changes to make?

Thanks

no one to help me :roll_eyes: