My site is redirecting to an old IP

#1
Hello,

I have an ec2 server running an OLS, it was everything ok until I choose to alocate an elastic IP. After it my server IP have changed and i can not open my site again. I still have access to wordpress wp-admin. But if I try to open my site it redirects to the old IP. How can I fix it?
 
#3
Thanks for the reply!

Yesterday I've tried for hours without success, so I decided to clone my site to another server. Unfortunately I can't test right now.
 
Top