That depends... do you want to make this work on your entire LAN, or just on the local computer? If you just want it to work on the local computer, you can just add the following line to /etc/hosts: Code: 192.168.0.183 user1
If you want to make it work on the entire LAN, you must either do the same on every computer, or you must use some way to dstribute it, such as setting up a DNS server.
The thing is that the browser must be made to know what address to connect to, and apache cannot tell it directly. /etc/hosts is one way of mapping symbolic hostnames onto IP addresses. DNS in another, although much more difficult to set up. |