Gitlab repo url change

We are using gitlab community edition in our company
recently we are changing network architecture , and changing the gitlab server ip too
After ip changing old and when creating new project , repo url showing as old ip address
How can I change it , I have already change external url in gitlab.rb and change project path in gui
but not any effect/
please help