I noticed a couple days ago that my wordpress sites were returning this 502 Bad Gateway error (I hadn’t updated in at least several months), and after sifting through a lot of documentation, I don’t think I’m any closer to understanding what the problem is.
Steps I have taken so far:
FWIW I have noticed the Apache server fails to start, returning the error: “(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80” though I don’t know if this is even relevant.
I have a single droplet running two wordpress sites on two different domains. These have worked without any problems for at least a few years (migrated over from another hosting service). They are now both returning the same “502 bad gateway” error when I attempt to access them.
Any help would be greatly appreciated, either getting past the bad gateway error, or, if necessary, doing a fresh install of wordpress and my database without losing the existing information.
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!
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!