This is a tutorial on how to change the hostname of your Raspberry Pi.
If you usually do an IP Address scan whenever you connect your Raspberry Pi to a new WiFi network to find it then you should change the hostname of your Raspberry Pi. This is for you not to get confused when there are two Raspberry Pi’s connected to the network. At least you an select the right Raspberry Pi.
Just so you know the default hostname of the Raspberry Pi is
Changing the Hostname of your Raspberry Pi
There are two ways to change this.