[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: localhost in /etc/hosts



On Sun, 2006-11-12 at 17:15 -0500, Douglas Tutty wrote:
> On Sun, Nov 12, 2006 at 11:28:45PM +0200, Hans du Plooy wrote:
> > 127.0.0.1        localhost.localdomain        localhost
> > 
> > I was always under the impression the first is the proper way.  I seem
> > to be having issues with resovling localhost for some web applications
> > on my Sarge server (127.0.0.1 localhost) but when I fix the hosts file,
> > it works, but breaks other things (like mysql usernames).
> > 
> I always have it set like this, before I install anything beyond base.

Me too but I slipped up this time.  Now it's biting me...

I also tried changing to the above and adding:

127.0.0.2	localhost

and swapping the IPs around - not much luck.

Hans



Reply to: