If you search the forum or
wiki or read the
Quick Start Guide you will see that your /etc/hosts format is incorrect and you'll see how to check your DNS. Do these commands:
Code:
host `hostname` <-- backticks not single quotes
dig yourdomain.com any
dig yourdomain.com mx