Webmail and phpmyadmin are not working on my site

Post Reply
User avatar
myVesta
Site Admin
Posts: 965
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

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.
(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
Then, in the open file, find

Code: Select all

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

Code: Select all

group = www-data
Press F2 to save the file, and ESC to escape from the editor.

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.

Tags:
hassaan
Posts: 1
Joined: Sun Feb 12, 2023 7:54 pm

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"
Last edited by hassaan on Sun Feb 12, 2023 8:14 pm, edited 1 time in total.
User avatar
myVesta
Site Admin
Posts: 965
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

Probably something other makes these redirection loops.
Can be a lot of things.
If you can't find what's it, sorry :|
stefansweb
Posts: 3
Joined: Wed Sep 07, 2022 11:04 pm

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
thunder1
Posts: 3
Joined: Sat Jun 29, 2024 10:07 am

stefansweb wrote: Wed Feb 07, 2024 5:43 pm 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
Hi, I have exectly the same issue. Did you find any solutions to it? Thanks.
Post Reply