Quote:
Originally Posted by stefanos
Hi,
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.
i.e.:
.....
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
eg:
192.168.1.12 auth.server1.com auth
192.168.1.11 www.server1.com server1.com
192.168.1.11 album.server1.com
192.168.1.11 server2.com www.server2.com
you also need to create the new vhosts file (/etc/apache2/sites-available) and run:
a2ensite server3.vhost
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?
Recent comments
13 hours 57 min ago
14 hours 56 min ago
18 hours 43 min ago
19 hours 57 min ago
23 hours 34 min ago
1 day 6 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 8 hours ago
2 days 10 hours ago