login via wp-admin issue

Hello Team,

I am facing error whenever I try to login as IP/wp-admin of wordpress website. It work smoothly if I try to login as IP/wp-login. I contacted to Wordpress support they said that this is digital ocean related issue. Can you please support/guide me to resolve this issue?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


It looks like Wordpress has somehow configured itself to the value of “$domain” in the site URL configuration. Whatever the value of this setting, the application will try to redirect to it at various times. There are a few ways to go about forcing a change to this setting without being able to access wp-admin. You can find some decent documentation on the options here: