How to stop redirecting of the IP adress to the domain

Posted August 27, 2018 5k views

Wordpress is installed in my droplet. I was using a domain adress for my website but I no longer use this domain. Now I want to access to my droplet’s wordpress via it’s IP adress but it’s still redirecting to my domain. I deleted everything about the domain from user CP. But it’s still redirecting and since the domain is expired I can’t access to the sites Wordpress control panel.
I did everything, all the changes in the apache2 config files and htaccess files I followed all the instructions in the apache and ubuntu tutorials I found on the net, but it didn’t work please help me

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

You need to make changes to WordPress database. Update the site URL. This might help,

Did you get this fixed? I’m having the same issue