Webmail and phpmyadmin are not working on my site

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

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 (your domain)

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

3) Edit /etc/php/7.4/fpm/pool.d/your-domain.com.conf
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 php7.4-fpm
Keep in mind that you should put PHP 7.4 on that domain/subdomain, because it will not work on PHP 8.x
In case you can not switch to PHP 7.4, then simply create new subdoman - let's say webmail.your-domain.com - put there PHP 7.4 - and apply 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: 918
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 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
Post Reply