Click to See Complete Forum and Search --> : Computer Name


kkiedrowski
04-28-2003, 03:08 PM
I am trying to figure pout how to change the server name of the linux server. I am running RH9.0. In samba i have the description changes but notthe server name?
Also when i changed the Apache server name it did no good as well

Icarus
04-28-2003, 04:09 PM
To change the system name on Red Hat
(eg, localhost to newname)

/etc/sysconfig/network

Change HOSTNAME=localhost
to what you want to name it.

Also add this exact same name to the end of the /etc/hosts file so it looks kind of like this...
127.0.0.1 localhost.localdomain ComputerName