My journey with Ubuntu continuous. This time, lets look at an option that lets you access your Ubuntu server install (v14.04
) using its hostname
instead of its IP and without hacking any hosts file
.
Now, this is of course nothing I’ve come up with, just google for it and you will see, I just want my journey documented.
Edit:
sudo nano /etc/nsswitch.conf
Change:
hosts: files dns
–>
hosts: files wins dns
Install:
sudo apt-get install winbind
Done.
//Daniel