host name

Paul Howarth paul at city-fan.org
Tue Feb 22 08:56:48 UTC 2005


On Tue, 2005-02-22 at 08:53 +0100, Roger Grosswiler wrote:
> 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

You probably want to edit /etc/sysconfig/network and set HOSTNAME to
computername.yourdomain as well.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list