Hi ! sorry for my english I install ispconfig and work over port 81 by https ok. Later i bind ispconfig to second IP port 80, but cannot connect to ispconfig. Maybe i must change port 80 to port 443 ? But i can't do it because main web server (apache 2.0) listen secure port 443 on all interfaces. I have two questions: 1) repeat pls exactly what can i do for switch ispconfig to second IP. 2) small offtopic. I bind main web server (apache 2.0) to first IP non secure port listen on only first IP, but secure port (443) listen on all interfaces what can i do for it ? Thanks in advance.
What did you do exactly? The ISPConfig http daemon is only for the admin interface, not for serving yozur webpages on port 80.
Yes ... i know. Because i can't access to non standart port 81 over proxy, I want bind ispconfig admin console web server to second IP one of standart ports and main web server bind to first IP. If I work with ispconfig by https protocol then bind to port 443 only or port 80 ok? repeat pls exactly what can i do for switch ispconfig admin console to second IP ? Thanks in advance.
Only if yor main Apache doesn't listen on port 443. Change the Listen directive in /root/ispconfig/httpd/conf/httpd.conf, e.g. like this: Code: Listen 1.2.3.4:80 Also change the port number in /home/admispconfig/ispconfig/lib/config.inc.php and restart ISPConfig: Code: /etc/init.d/ispconfig_server restart
I didt it. Now main web server bind to first ip and ispconfig web to second ip. But i can't get access to ispconfig admin console I try bind ispconfig to port 80 or to port 443 ... all the same ... can't get access. I think may be problem with SSL certifikate ? When i install ispconfig i generate certifikate for name which bind to first ip.
Yes i have changed the port in the ISPConfig config.inc.php file too. example: first_ip.aaa.com --> first IP second_ip.aaa.com --> second IP eth0 "first IP" eth0:0 "second IP" (alias) Ispconfig work only on any tcp ports on first IP
Probably i find problem. on second interface all daemons not working properly ... example: smtp don't answer, apache need authorization ??! , pop3 don't answer. But command "netstat -tap" say pop3, smtp and http listen all interfaces. This situation independently from firewall on or off.
now ISPconfig running on first_IP:443 and main web server on port 80 only on all interfaces. netstat -tap ------------------------------------------- firstIP_name:443 bla bla bla ispconfig_httpd *:80 bla bla bla httpd ------------------------------------------- i try some test: #telnet first_ip 80 get /index.html <-- after that some output #telnet second_ip 80 get /index.html <-- after that nothing /etc/hosts contain only first IP and localhost example: #first IP XXX.XXX.XXX.XXX firstIP_name.aaa.com first_name 127.0.0.1 localhost.localdomain localhost
Now, Yes. Because any httpd on second_IP not working properly ... I understand .. it's no problem of ISPconfig (on first_IP ISPconfig work OK) example: i create virtual host on second_IP try http://second_IP .... and get authorization window from apache. if i change second_IP to first_IP in this vistual host ... then all ok.
What do you mean with authorization window? Do you see the correct IP address in Vhosts_ispconfig.conf?