hosts file
eoghan
freebsd at redry.net
Wed Mar 15 19:31:44 UTC 2006
Bob Bomar wrote:
> On Wed, 2006-03-15 at 16:43 +0000, eoghan wrote:
>> Hi
>> Has anyone got an example of how the hosts file should be setup to allow
>> locahost to work in a browser? Mine doesnt work anymore unless i go
>> through the ip. This is when i start apache, maybe there is some other
>> place i need to set it? The httpd.conf has localhost in it...
>> Thanks
>> Eoghan
>
> Do you have the entry:
>
> ::1 localhost localhost.my.domain
> 127.0.0.1 localhost localhost.my.domain
>
> In your /etc/hosts file?
>
Hi
Yes, mine reads:
::1 localhost nathaniel
127.0.0.1 localhost nathaniel
Upon starting apache, i can only get to it by using the ip.
127.0.0.1 wont work either. I just get the unable to connect message
from the browser. Any ideas?
Thanks
Eoghan
More information about the freebsd-questions
mailing list