bind lighttpd to one ip address

I want to bind lighttpd on IP address 76.76.18.20, so i can use other IP’s for Apache, Apache have “Listen” option to bind apache to specific IP address.

vi /etc/lighttpd/lighttpd.conf

Find

#server.bind                = "127.0.0.1"

Replace with

Advertisement

server.bind                = "76.76.18.20"
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement