G giorgos New member Joined Jan 3, 2008 Messages 2 Jan 3, 2008 #1 i have i machine debian 4 i just install DA the server have 6 ips and how its possible to listen only to 2 ips and not to 6 ips on ports 80 and 443 ?
i have i machine debian 4 i just install DA the server have 6 ips and how its possible to listen only to 2 ips and not to 6 ips on ports 80 and 443 ?
chatwizrd Verified User Joined Jul 3, 2005 Messages 1,937 Jan 3, 2008 #2 Edit the files /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd-ssl.conf or /etc/httpd/extra/httpd-ssl.conf Change the Listen variable to Listen IP-HERE:80 and Listen IP-HERE:443 then run /sbin/service httpd restart
Edit the files /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd-ssl.conf or /etc/httpd/extra/httpd-ssl.conf Change the Listen variable to Listen IP-HERE:80 and Listen IP-HERE:443 then run /sbin/service httpd restart
J Jan_E Verified User Joined Apr 29, 2011 Messages 128 Location Amsterdam, NL, EU Nov 1, 2019 #4 Very late reply: this will be overwritte by ./build rewrite_confs. Then it is changed again in 'listen 80'. Is there a way to permanently listen to only a few IP's? I tried editing /usr/local/directadmin/data/templates/httpd.conf without luck.
Very late reply: this will be overwritte by ./build rewrite_confs. Then it is changed again in 'listen 80'. Is there a way to permanently listen to only a few IP's? I tried editing /usr/local/directadmin/data/templates/httpd.conf without luck.