Hi, what is the easy and best way to change addresses for the following app that does not redirect example.com:8080/phpmyadmin -> sql.example.com example.com:8080/webmail -> mail.example.com example.com:8080 -> panel.example.com Must be fixed address not redirect, thanks for the help in advance.
There is a setting for that in default ISPConfig installations but will need to be enabled in the ISPConfig vhost, if you want to use the port for the apps. To use subdomain for apps you will need to create a website for them and copy or symlink the relevant folder to their web folder. Make sure that their vhost is rightly customized as well. It will be a little bit tricky for ISPConfig itself, so do search this forum on how to do it.
Of course it will not work as phpmyadmin is on port 80 and not 8080, so the URL to access phpmyadmin is http://example.com/phpmyadmin and not example.com:8080/phpmyadmin and the URL that gets used to access phpmyadmin from within ISPConfig has to be configured by the admin (you) under system > interface comfig and there you can set the URL where you installed phpmyadmin on your server like http://example.com/phpmyadmin
https://example.com:8080/phpmyadmin/ mine works I just created a new website panel.example.com and it is blank then got to http://panel.example.com:8080/phpmyadmin/ then it works
Where will i change the settings in PHPMyAdmin to use https://sql.example.com Roundcube to use https://mail.example.com ISPConfig to use https://panel.example.com When i changed 000-ispconfig.vhost <VirtualHost *:80> and ServerName panel.example.com it gives me access denied
For apps as subdomains: For ISPConfig as a subdomain, you can try to use reverse proxy in the subdomain vhost.
The port for SSL is 443 and not 80 and you will have to add a ServerName line with the domain name that the vhost shall use.
After a few days of trying and had to install ISPconfig a few times, I edit /etc/apache2/sites-available/ispconfig.vhost and changed the following to local NameVirtualHost 127.0.0.1:8080 <VirtualHost 127.0.0.1:8080> I created sub domain panel.example.com then edit the file /etc/apache2/sites-available/panel.example.com.vhost and added the following to top line <VirtualHost *:80> ServerName panel.example.com Redirect 301 / https://panel.example.com/ </VirtualHost> Just under <IfModule mod_ssl.c></IfModule> in Virtualhost 443 i added the following SSLProxyEngine On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off ProxyVia off ProxyRequests off ProxyPreserveHost on ProxyPass / https://localhost:8080/ ProxyPassReverse / https://localhost:8080/ Now https://panel.example.com is working perfect but cannot setup mail.example.com it always redirects to mail.example.com/webmail/ where roundcube is installed i disabled the conf files and still redirect but with 404 i uninstalled roundcube and still it redirects. I cannot seem to find what is redirecting it. Is ISPconfig redirecting it ? I created a website mail.example.com then it works but my https://mail.example.com still redirects to https://mail.example.com/webmail/ any help ? BTW Getting Exact same with sql.example.com redirecting to example.com:8080/phpmyadmin/
This is kind of an old topic but google insists on bringing me to this page! I have the ISPConfig control panel correctly configured via an Apache reverse proxy to be accessible with panel.example.com. That has been working fine for ages. phpMyAdmin is working fine under panel.example.com/phpmyadmin but I'd like to set up another subdomain to access it directly like mysql.example.com. I've used the same reverse proxy approach but with no success so far: When I look at the apache logs I see a bunch of increasing redirections from panel.example.com/phpmyadmin/ to panel.example.com/phpmyadmin/phpmyadmin to panel.example.com/phpmyadmin/phpmyadmin/phpmyadmin to panel.example.com/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin to panel.example.com/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin to panel.example.com/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin to panel.example.com/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin/phpmyadmin and so on... Any hints on what I am doing wrong?
found the solution by using << DocumentRoot "/usr/share/phpmyadmin/" >> in the options tab for the vhost I had created!