D
D
DemonFromIrk2020-01-23 16:13:31
Lighttpd
DemonFromIrk, 2020-01-23 16:13:31

Local domain (lighttpd on raspberry) from main pc, how?

I put the web server on raspberry, wrote it down in/etc/lighttpd/lighttpd.conf

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

Registered in dnsmasq address=/site.pi/127.0.0.1
What do I need to do now so that I can access site.pi from another PC in this network?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Samoilov, 2020-01-23
@DemonFromIrk

Write the address of the raspberry in /etc/hosts ip:
Or write an A-record on the DNS server used by the host you plan to access from.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question