Click to See Complete Forum and Search --> : How to change the Linux system name as it appears on a Win LAN


Hondaman900
11-27-2002, 01:05 PM
The name that appears on the network is my issue. My system installed with "localhost" as the default name, and I cannot change it. It is causing conflicts on my LAN (connected with Samba).

I have changed the server name in the etc/host file (so that now http://localhost doesn't work, it must be http://linuxhost which is the new name), and I have set the Samba name for the box to "Sambaserver", but the name "localhost" persists.

On my LAN I see the system listed as Localhost, and in detail form, as "Sambaserver (localhost)", where Sambaserver is the name assigned in the Samba config file. When RedHat boots up, I can see localhost.localdomain coming up in the login texts.

Anyone know how I can change this, It's driving me nuts? Until I change the name from localhost my Win systems cannot link to it as that name conflicts with IIS.

Help!

newblar
11-27-2002, 01:49 PM
You don't have tot change localhost on your linux box. If you have an internal DNS on your LAN, just create a new record for your linux box; your winidows machines should be able to point to it by means of the new DNS record.