sudo unable to resolve host

November 20, 2013 5k views
hi , i have a problem when i do mkdir sudo mkdir -p /var/www/ result sudo unable to resolve host
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:

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

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