Updating Project URL after moving Gitlab server to a new location

Hi All,
I have the following Issue: We recently moved the GitLab server location to AWS cloud by cloning all the repositories into AWS. While the all data was moved to the server successfully, the “clone URL” did not get updated and still points to the old server (shown in the below image).

What I have tried :

  1. Create a new repository (The new repository clone url still points to the same old URL)
  2. Try to clone it through SSH

Is there any configuration setting to update the “Clone URL” so that it points to the new server?

What is external_url set to in your gitlab.rb and are there any other lines in the file (such as ssh_host) that still point to the older URL?

Furthermore, is the Custom Git clone URL for HTTP(S) set to a custom value in the Admin Area > Settings > General > Visibility and access controls area? You can try removing it if it is not necessary anymore.