IP listen

giorgos

New member
Joined
Jan 3, 2008
Messages
2
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 ?
 
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
 
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.
 
Back
Top