something tells me that this is wrong. but here is the config i have in /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#this is for owncloud
also if i turn off iptables and navigate to
the nginx default webpage loads
not sure if that helps at all.
if that is not the file you are talking about let me know...