How to Fix "Unable to Resolve HostName" in Ubuntu 14.04 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Wednesday, August 20, 2014

How to Fix "Unable to Resolve HostName" in Ubuntu 14.04

Error :- unable to resolve host Ubuntu 12.04 / 12.10 / 13.04 / 14.04

Open the Terminal and Type
Step1 :- cat /etc/hosts      ----  To Check Hostname
Step2 :- cat /etc/hostname   ----  To Check Hostname          
Both host name should be Same in hosts and hostname file ....if not means see next step3.
Hosts File in Linux

Step3:- Open hosts and hostname both Should be Remove (cloud or any name if there. See Below Images) 
Step4 :- Save and Exit by (press ctrl+x) then pres (yes) 
/etc/hosts 
Step5:- cat /etc/hosts  
hostname in ubuntu

cat /etc/hostname and cat /etc/hosts both Name should be Match.


Thanking You
Hope U Like It............

Windows Server 2008

Orientdb NoSQL part2

Python 3.4.1

Install OrientDB Document Graph

Netbeans IDE
Vtiger CRM Database