I stuck into a little problem related to a hostname change; basically I needed to change hostname for a basic debian install. I then powered up my fav browser with my fav search engine, then searched for that stuff. Easy as that! You change Hostname by simply doing vi /etc/hostname (and put your new hostname inside this file, in place of the old one) and that's all. NOT!!! Now launch vi /etc/hosts ...and change also the other stuff were you see the old name. Now you can safely reboot (or simply logoff/logon) to see the changes take effect immediately.

Senior Professional Network and Computer Systems Engineer during work hours and father when home.

Andrea strives to deliver outstanding customer service and heaps of love towards his family.

In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format.

change debian hostname.
Rate this post