Originally Posted by stefanos
Sorry I cannot help with the config.inc.php. However I think that there is an option when you install as to what port to run on. As I said I left mine on port 81 (but this should not be a problem if the RevProxy is working as you can RevProxy for IspConfig to port 81 on your internal server. So I would leave this alone and do it via the RevProxy.
ProxyPass / http://www.server1.com:81/
ProxyPassReverse / http://www.server1.com:81/
As for the /etc/hosts this is the anoying part every time you add a new site in ISPConfig you need to conf the RevProxy server to point to the new host.
i.e. add in the /etc/hosts the line to the server
192.168.1.12 auth.server1.com auth
192.168.1.11 server2.com www.server2.com
you also need to create the new vhosts file (/etc/apache2/sites-available) and run:
And don't forget you will need to restart Apache!!
This I dont understand. My new website (host?) will be on the second machine. But I create it in server1's control panel? Why do I need to create a new vhost file? Doesnt ISPConfig do this when you create a new site in sites-available? I am totally confused by this process.
Also, a2ensite is not a command on my OpenSuse box. What does this program do?
By the way, ISPCOnfig does not install on port 81. It installes the control panel on port 8080 by default but all websites are on port 80. Where did 81 come from?