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

localhost in /etc/hosts

Hi guys,

Just wondering, which is correct:        localhost.localdomain        localhost

or        localhost

The linux networking howto
(http://www.tldp.org/HOWTO/NET3-4-HOWTO-5.html) muddies the water even
more:      localhost     loopback

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 ( localhost) but when I fix the hosts file,
it works, but breaks other things (like mysql usernames).


Reply to: