The host name, which is the UNIX equivalent to Windows’ “Computer Name”, is an easy way to access your computer from your local network without figuring out what it’s IP is. On Raspbian, the default host name is simply raspberrypi
. For example, if you have Samba installed, you can access it from your Windows computers with \raspberrypi
, or you can access your web server with http://raspberrypi.local
.
But what if you had more than one Raspberry Pi on your network? Or if you just wanted to make it a little more personal? Well there’s two easy ways for you to change it.