I freshly installed on a cloud MyVestaCp, and the only thing i did was installing PHP 7.4 , created a user, got the ssl working ,small stuff.
Then i was creating a new DB for a user migration, and i tried to open Phpmyadmin using https://localhost.com/phpmyadmin/ and i get a page "500 Internal Server Error".
I went on /var/log/apache2/error.log and found " AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using sub.domain.com. Set the 'ServerName' directive globally to suppress this message
i already tried to edit the apache2.conf file
sudo nano /etc/apache2/apache2.conf
and add this line at bottom:
ServerName localhost
Then restart the Apache server:
sudo systemctl restart apache2
but did not work, can't acess phpmyadmin with the same internal error
