D
D
Dima2020-06-03 13:08:28
PHP
Dima, 2020-06-03 13:08:28

How to make files on a web server in macOS available on the local network?

There is a standard web server on Apache, and a web page on it. When logging on to the IP of this server from another computer, scripts and styles are not loaded, in which line httd.confcan this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-06-03
@firedragon

see this is solved either by local DNS
or by editing hosts on the client
For windows C:\Windows\System32\drivers\etc\hosts

192.168.92.147 srv-debian
192.168.92.147 shop.srv-debian.loc

In Apache, this is the servername settings
https://httpd.apache.org/docs/2.4/mod/core.html#se...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question