I have installed a fresh Ubuntu 20.04 server following the tutorial here: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/ The server is running apache, not nginx. When I try to access https://server.hostname.com:8081/phpmyadmin/ instead of loading phpmyadmin, the PHP raw code is shown instead. It's like the PHP handler is not enabled for the apps vhost. You can however access phpmyadmin from https://server.hostname.com:8080/phpmyadmin/ and also through all sites, eg: https://anydomainnamesite/phpmyadmin/ Using the same tutorial (Debian 11) and nginx, all works fine, and phpmyadmin loads. I need to disable access from https://anydomainnamesite/phpmyadmin/ and correct the apps issue so it can be used from the apps vhost again. There are no other changes to the server, other than installing the cert, which works fine for the ispconfig 8080 address, and shows secure for the apps address, just no PHP running there. Any help or tips would be helpful. I will try and build an additional Ubuntu server tomorrow and a Debian that uses apache and see what happens in both those use cases.
It seems correct to me if it works on port 8080 and your domains. You can surely change / customize it.
I have done some further digging. The problem does not occur if I do not make any changes under System Server Config > Server Name > Web > Apps VHost But as soon as I make any changes (port number or otherwise) once ISPConfig saves those changes, the Apps vhost can no longer run PHP. I am still digging for a solution. But it's being caused by changing that setting.
Problem found. On the fresh install, without touching ISPConfig yet, the apps vhost has the following: <Directory /var/www/apps> <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> </Directory> On any system which I edit the apps vhost, it is replace with: <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> So the file found at /usr/local/ispconfig/server/conf/apache_apps.vhost.master is not the same as the installed file. This can be corrected by the following: cp /usr/local/ispconfig/server/conf/apache_apps.vhost.master /usr/local/ispconfig/server/conf-custom/apache_apps.vhost.master nano /usr/local/ispconfig/server/conf-custom/apache_apps.vhost.master Replace the lines at the top under ServerAdmin with the proper lines. I will also open a bug ticket with ISPConfig.