sudo: unable to resolve host

March 4, 2014 4.4k views
I got: sudo: unable to resolve host as a result of sudo cat /etc/hosts | curl -F'f:1=
5 Answers
Add the following line to /etc/hosts:

That should fix it assuming is your droplet's hostname.
It's fine, it's just telling you that your droplets hostname does not resolve.
Thanks Aidhan..

and when hostname does not resolve what might happen to my site in the future?

Newbie onboard :D

Thanks Kamal
That solved my problem
Sweet! :]
Have another answer? Share your knowledge.