Report this

What is the reason for this report?

sudo: unable to resolve host

Posted on March 4, 2014

I got: sudo: unable to resolve host fatih1.kancingdoortrim.com as a result of sudo cat /etc/hosts | curl -F’f:1=<-’ ix.io is it normal?

it is running LAMP on Ubuntu 12.04

Thanks Irawan



This textbox defaults to using Markdown to format your 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.

Thanks Aidhan… <br> <br>and when hostname does not resolve what might happen to my site in the future? <br> <br>thanks <br>Newbie onboard :D <br> <br>Irawan

Add the following line to <code>/etc/hosts</code>: <br><pre>127.0.0.1 fatih1.kancingdoortrim.com</pre> <br>That should fix it assuming <code>fatih1.kancingdoortrim.com </code> is your droplet’s hostname.

Thanks Kamal <br>That solved my problem <br>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.