First off I'm new to howtoforge and am very impressed with the community!
I used http://www.howtoforge.com/perfect_setup_ubuntu_6.06
to setup a LAMP server on an old Optiplex and was pleased as punch with the instructions.
I'm a n00b when it comes to Linux but the tutorial helped me get my system up and running quickly. Unfortunately, I broke the system shortly thereafter (read *n00b!) and decided to reinstall. I upgraded my system drive to one with greater capacity and proceeded to reinstall the OS.
Everything was going fine until I edited /etc/hosts
returns only my localhost (for example foo
returns as expected localhost.localdomain.org (for example foo.bar.org
my hosts file looks like this:
127.0.0.1 localhost.localdomain localhost
192.168.0.X foo.bar.org foo
::1 ip6-localhost ip6-loopback
What am I doing wrong?
Thanks in advance for any and all suggestions.