What did you use to edit the hosts file? There seems to be a stray character in there (unless it's your copy/paste), notice there's no space in you post above:
Code:
127.0.0.1 localhost.localdomain localhost
Make sure that there's is actually a space before the last 'localhost' and not some unprintable character.