Moved sentry on other server after creating ami image and now it is giving error

Hello,

I moved out sentry from one server to another server after creating AMI image.Everything working fine except one thing. Now, I’m not able to open repository link on home page. It is redirecting me to IP address which is assigned to the old instance I moved out from. Also, when I create user invite link it is giving me the link containing IP address of the old instance.