Open main menu
This page is a translated version of the page Isäntänimen muuttaminen and the translation is 100% complete.

Other languages:
English • ‎suomi

Instructions on changing your host name


Open the hostname file

 nano /etc/hostname

and switch your desired host name on the place of the old host name

Open the hosts file

 nano /etc/hosts

And replace your old hostname with your new one.

Restart services which might be affected by this change. This will cut any connections like SSH, although they should reconnect. We recommend just restarting the whole machine in order to make sure you restarted all affected services.

 invoke-rc.d start
 invoke-rc.d networking force-reload
 invoke-rc.d network-manager force-reload

Or more simply, Just reboot.


Other operating systems: (Finnish)