Webmail and phpmyadmin are not working on my site
Webmail and phpmyadmin are not working on my site
By default, only hostname is configured properly to run /webmail/ and /phpmyadmin/
So, if you open https://your-hostname/webmail/ or https://your-hostname/phpmyadmin/ it will work.
However, if you want to load /webmail/ and /phpmyadmin/ on your site (instead of your-hostname), do the following:
1) In myVesta hosting panel, Go to Web -> Edit domain (your domain)
2) Set hosting-webmail-phpmyadmin or hosting-legacy nginx proxy template
3) Edit /etc/php/7.3/fpm/pool.d/your-site.com.conf
find
(probably line 9)
and change that line to:
After that, restart php-fpm:
It may be other php version (5.6, 7.0, 7.1, 7.2, 7.3, 7.4...)
So, if you open https://your-hostname/webmail/ or https://your-hostname/phpmyadmin/ it will work.
However, if you want to load /webmail/ and /phpmyadmin/ on your site (instead of your-hostname), do the following:
1) In myVesta hosting panel, Go to Web -> Edit domain (your domain)
2) Set hosting-webmail-phpmyadmin or hosting-legacy nginx proxy template
3) Edit /etc/php/7.3/fpm/pool.d/your-site.com.conf
find
Code: Select all
group = yourusername
and change that line to:
Code: Select all
group = www-data
Code: Select all
service php7.3-fpm restart
Tags: