500 Internal Server Error in my site.

I am stared using DigitalOcean a month ago. My site was running fine and an hour ago I decided to back up my DB using PHPMyAdmin but unfortunately, I entered the wrong password a few times. And It started showing HTTP ERROR 500. So, now the site is down. So, later on, I use the Power cycle from DO.

Now, I can access the console but the site is still down. Can anybody assist me? Earlier I had set up LEMP Server. Thanks

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.

Anyone here to help.

Hi @nepalourname,

There are a few possibilities, I’ll try and lay them down.

Services are down

It’s good to be able to enter into your droplet. Ssh to it

ssh root@YourDropletIp

Once you are in check if your services are down like this

service nginx status

This will show you if Nginx is loading or not. If it says failed, just type in

service nginx restart

This will try to restart the service for you. The same can be applied for MySQL as well.

Now, if it fails to load, there will be a reason behind it. Typing in

service nginx status

should show you the reason however if it doesn’t, the journal should help you out

journalctl -xe

Try the above and let me know how it goes. If it goes well, then great,if it doesn’t let me know what’s going on and I’ll further assist you.

Regards, KDSys

This comment has been deleted