host name

Roger Grosswiler roger at gwch.net
Tue Feb 22 07:53:54 UTC 2005


str tux schrieb:
> List,
> 
> I need to change hostname to my box (as well as the prompt [root at fc3
> root]# - i want to change fc3 to some other name); how to do it? what
> are the files i need to change?
> 
> this should be easy, but for the last hour i'm trying with no success.
> 
> thanks.
> 
> str
> 
use either system-config-network and change the dns-area or in the 
shell, change the indicators in /etc/hosts from 127.0.0.1. btw never 
change the localhost at the end, or you will loose your alias for the 
loopback-adress.

eg:

127.0.0.1 	computername	computername.yourdomain	    localhost

HTH
Roger




More information about the fedora-list mailing list