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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


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: