View Single Post
  #4  
Old 26th February 2013, 03:22
kendel kendel is offline
HowtoForge Supporter
 
Join Date: Aug 2010
Posts: 132
Thanks: 4
Thanked 1 Time in 1 Post
Default

I did some troubleshooting and figured out that when the update happened ISPConfig created a new virual host using port 8080 of the exact location I was using for port 80, which somehow conflicted, so I had to delete my custom port 80. given that, How can I make this work for me:

<VirtualHost ipaddress:443>
ServerName host1.domain.com
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / https://privateip:8080/
ProxyPassReverse / https://privateip:8080/

SSLProxyEngine on
SSLEngine on
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key


Whenever I try to use port 443 on my webserver to forward proxy, the apache server gets an error:

Failed to start apache :

* Starting web server apache2
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
...fail!

Initially I had the control panel running on port 80. and it worked so I left it alone.
__________________
If you are looking for examples of an ISPConfig 3 Multiserver Setup, Visit my website Here!!!
Reply With Quote