Local domain (lighttpd on the raspberry) from the host PC, how?

Put the web server on the raspberry, recorded in /etc/lighttpd/lighttpd.conf

$HTTP["host"] == "site.pi" {
server.document-root = "/var/www/panel/" }

Prescribed in the dnsmasq address=/site.pi/

What I need to do now, so I can go on site.pi from another PC in the network?
April 4th 20 at 13:30
1 answer
April 4th 20 at 13:32
To register in /etc/hosts the ip address of raspberries: site.pi

Or register the a-record on the DNS server that is used by the host where you plan to go.
But if I want to hang a few such sites? Just a few of the entries in the hosts added? - jaeden_Konopelski32 commented on April 4th 20 at 13:35
@jaeden_Konopelski32, Yes - terrence commented on April 4th 20 at 13:38

Find more questions by tags Lighttpd