Domain Redirected to localhost in Ubuntu

I was facing the issue with my currently hosted website, when I was opening my website "www.enfieldwarriors.com" then it was redirecting to localhost. So solving this issue I did this steps:
Step 1:
First Ping your site : ping www.enfieldwarriors.com
It will result the ip 127.0.0.1

Step 2:
Now check the nslookup : nslookup www.enfieldwarriors.com
it will again show the result of 127.0.0.1

Step 3:
Now open : sudo gedit /etc/resolvconf/resolv.conf.d/head
Add the entry
nameserver 8.8.8.8

Step 4:
sudo resolvconf -u

Step 5:
reboot the system

It will solve your problem