Re: virtual hosts
Jonas Pasche <[email protected]> 23 Mar 2002 17:40:21 +0100
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <1016901622.1907.55.camel@leonardo> |
Hi Payal, > I have a small question regarding virtual hosts in pulicfiles. I made a > directory payal and put my index.html in it. When I did > http://payal/index.html it started looking for host and then gave up. So this isn't a publicfile-related question. Your computer has to know the IP address of payal. As this isn't a public domain name you have to define it for yourself. The most simple solution would be to add an entry for payal to /etc/hosts. The better solution is to setup tinydns on your machine. The cr.yp.to website tells you how: http://cr.yp.to/djbdns/faq/tinydns.html#config Jonas