hosts file

Bob Bomar bob at fxp.org
Wed Mar 15 17:44:51 UTC 2006


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?



More information about the freebsd-questions mailing list