sudo unable to resolve host eligeturuta.com.ar

November 20, 2013 3.7k views
hi , i have a problem when i do mkdir sudo mkdir -p /var/www/eligeturuta.com.ar/public_html result sudo unable to resolve host eligeturuta.com.ar
5 Answers
That sounds really weird. Try, this:
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove && sudo reboot now
I've tried your solution, it doesn't work. I also have the same problem with the one above, not quite sure how to solve it.

Please help :(
@draftdraft88: Add that domain that pops up in the error to /etc/hosts. For bylucasinf (OP) it would be:
127.0.0.1    eligeturuta.com.ar

Make sure that domain points to your droplet otherwise it will cause other issues.
@kamal, I already added `127.0.0.1 domain.com` but I still got the errror
@Marga: What's the output of
sudo cat /etc/hosts | curl -F 'f:1=<-' ix.io
?
Have another answer? Share your knowledge.