After sudo restart, I can't open phpMyAdmin page and My web site become "Welcome to nginx!".

  • Posted April 21, 2021
  • Nginx

After sudo restart, I can’t open phpMyAdmin page and My web site become “Welcome to nginx!”. Help me, please.

I want to fix it. If no any way to fix that, should I recovery by Images -> Backups -> Droplet backups -> more -> restore droplet. Is this will solve that?


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.

Hello, @sittiphansittisak

This is quite odd. I’m happy that you’ve resolved the issue here. I assume Nginx was installed at some point. In order to prevent issues like this one in the future you can make sure that the Nginx service is disabled or you can even remove the Nginx package:

To disable the service:

  1. sudo service nginx disable
  1. sudo systemctl disable nginx

To remove:

  1. sudo apt-get remove nginx nginx-common
  1. sudo apt-get purge nginx nginx-common

Hope that this helps! Regards, Alex

How is your operating system and virtual host configuration? Can you add a screenshot?