sudo unable to resolve host

  • Posted November 20, 2013

hi , i have a problem when i do mkdir

sudo mkdir -p /var/www/


sudo unable to resolve host


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@Marga: What’s the output of <pre>sudo cat /etc/hosts | curl -F ‘f:1=<-’</pre>?

@kamal, I already added but I still got the errror

@draftdraft88: Add that domain that pops up in the error to /etc/hosts. For bylucasinf (OP) it would be: <br><pre></pre> <br>Make sure that domain points to your droplet otherwise it will cause other issues.

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. <br> <br>Please help :(

That sounds really weird. Try, this: <br><pre>sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove && sudo reboot now</pre>