sudo raspi-config # Select System Options or Network Options # Select Hostname # Enter a new hostname # Finish & Yes to Reboot