Unable to resolve hostname supernova

This happens when the hostname as specified in /etc/hostname is not linked to localhost ip


First get the current hostname:

[email protected]:~$ cat /etc/hostname

Next, add a line for this hostname in hosts file.

sudo emacs /etc/hosts

The new line is this: supernova


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.