(unless you accidentally change the PHP-FPM-XX template for hostname)
However, if you want to load /webmail/ and /phpmyadmin/ on your site (instead of your-hostname), or webmail/phpmyadmin stopped working on hostname, do the following:
1) In myVesta hosting panel, go to WEB -> EDIT (your domain)
2) Set hosting-webmail-phpmyadmin or hosting-legacy or force-https-legacy nginx proxy template
3) Select PHP-FPM-XX for the PHP version that is the default for your Debian version.
4) In SSH, as root, run:
Code: Select all
v-edit-domain-php-ini yourdomain.com
Code: Select all
group = yourusername
and change that line to:
Code: Select all
group = www-data
If you can not switch PHP versions, simply create a new subdomain—let's say webmail.your-domain.com—put the PHP version that is the default for your Debian version there, and apply the instructions from this tutorial.