Question

sudo: unable to resolve host

Posted March 4, 2014 10.5k views
I got: sudo: unable to resolve host fatih1.kancingdoortrim.com as a result of sudo cat /etc/hosts | curl -F'f:1=

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.

×
5 answers
Add the following line to /etc/hosts:
127.0.0.1    fatih1.kancingdoortrim.com

That should fix it assuming fatih1.kancingdoortrim.com 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?

thanks
Newbie onboard :D

Irawan
Thanks Kamal
That solved my problem
Sweet! :]
Submit an Answer