Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Resolving the /etc/hosts localhost Issue in Apache

Feb 03, 2010, 12:32 (0 Talkback[s])
(Other stories by Juliet Kemp)

"This week I once again ran into a problem I've encountered before: issues caused by the default values in /etc/hosts used in several Linux distributions, including older versions of Debian and Ubuntu. It seems to have been fixed in Debian Lenny, but I've encountered it on at least one recently installed machine, so other applications may be overwriting the file incorrectly.

"The problematic localhost line in /etc/hosts looks like this:

127.0.0.1 localhost.localdomain localhost

"Unfortunately, this setup confuses some applications."

Complete Story

Related Stories: