Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 11:46:02 -0600
From:      Bob Bomar <bob@fxp.org>
To:        eoghan <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hosts file
Message-ID:  <1142444762.96083.43.camel@beast.hanger.bpfx.org>
In-Reply-To: <4418442D.3090807@redry.net>
References:  <4418442D.3090807@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142444762.96083.43.camel>