Ubuntu Tip: Hostnames

Published on 8 Feb 2008 Ubuntu Hostname

Ubuntu Hostname
Since Ubuntu runs Avahi by default, every regular Ubuntu PC broadcasts its hostname. As a result you can use “host.local” as the hostname to connect to, where host is the name of the box running Ubuntu. It will automagically find it, even if you don’t know the IP address.

Handy for SSH, webservers, shared disks, or even just a simple ping.

David Verhasselt

I’m a consultant & entrepreneur. I build webapps and optimize Minimal Viable Products for clients all over the world. If you'd like to chat, hit me up on david@crowdway.com.

Like this? Sign up to get regular updates