By mstreamag
Hi! I’m created new droplet via snapshot, but after binding the domain to the new IP, i see 502 error.
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!
Hey friend,
I’m assuming you are referring to the 502 Bad Gateway error. This happens when a web server fails to connect to a back-end service that it is configured to pull data from when a page is requested. Most commonly this refers to reverse proxy setups or php-fpm, where either the service being proxied to or php-fpm is not running.
It may be that your web server calls a back-end app that was not configured to start at boot time, or that it has an error starting. Checking the web server logs may help you to identify what that app is, but from there it’s hard to advise further as that app could be almost anything and I’m not sure what it is.
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.