Page 1 of 1

Webmail and phpmyadmin are not working on my site

Posted: Sat Jul 25, 2020 4:44 pm
by myVesta
By default, only the hostname is configured correctly to run /webmail/ and /phpmyadmin/

So, opening https://your-hostname/webmail/ or https://your-hostname/phpmyadmin/ 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 (your domain)

2) Set hosting-webmail-phpmyadmin or hosting-legacy or force-https-legacy nginx proxy template

3) Edit /etc/php/X.X/fpm/pool.d/your-domain.com.conf
(where X.X is the PHP version of your domain)
find

Code: Select all

group = yourusername
(probably line 9)
and change that line to:

Code: Select all

group = www-data
After that, restart php-fpm:

Code: Select all

systemctl restart phpX.X-fpm
(where X.X is the PHP version of your domain)

Remember that you should put (on that domain) the PHP version that is the default for your Debian version.
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.

Re: Webmail and phpmyadmin are not working on my site

Posted: Sun Feb 12, 2023 8:12 pm
by hassaan
I followed this tutorial but I am getting infinite redirection issue on Debian 11.6 and Debian 10.13


tried with Proxy Template:
hosting-legacy
hosting-webmail-phpmyadmin



Access logs
124.29.122.0 - - [12/Feb/2023:19:10:53 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
124.29.122.0 - - [12/Feb/2023:19:10:54 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
124.29.122.0 - - [12/Feb/2023:19:10:54 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
124.29.122.0 - - [12/Feb/2023:19:10:55 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
124.29.122.0 - - [12/Feb/2023:19:10:55 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
124.29.122.0 - - [12/Feb/2023:19:10:55 +0000] "GET /webmail/ HTTP/1.0" 302 504 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"

Re: Webmail and phpmyadmin are not working on my site

Posted: Sun Feb 12, 2023 11:21 pm
by myVesta
Probably something other makes these redirection loops.
Can be a lot of things.
If you can't find what's it, sorry :|

Re: Webmail and phpmyadmin are not working on my site

Posted: Wed Feb 07, 2024 5:43 pm
by stefansweb
For me roundcube CSS and JS won't still load and phpMyAdmin Is still white blank page can someone help me out?

https://ibb.co/J7XsfwG