server name change

server name change

Postby stephen » Mon May 08, 2006 8:18 am

I found this at
http://www.redhat.com/archives/fedora-list/2004-May/msg04100.html

Re: Server name change

* From: Alexander Dalloz <alexander dalloz uni-bielefeld de>
* To: For users of Fedora Core releases <fedora-list redhat com>
* Subject: Re: Server name change
* Date: Wed, 19 May 2004 14:21:31 +0200

Am Mi, den 19.05.2004 schrieb Bogdan Rotariu um 13:29:

> > How can I change the name of my server. I once upon a time knew. Had a mem
> > crash, could somebody please remind me.

> edit /etc/sysconfig/network
> and edit/put HOSTNAME=yourhost.domain.tld
> or do hostname yourhost.domain.tld (that will work untill the server is
> rebooted)

Do not change it while running X (if you have X on the server).

And do not forget to adjust the corresponding entry in /etc/hosts, to
have a valid entry for the host's IP and the new hostname there too.

Alexander


--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 14:19:26 up 6 days, 12:04, load average: 0.24, 0.32, 0.18
[ ÃŽÃŽÃÂÂÂ
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to Linux Server Configuration Notes

Who is online

Users browsing this forum: No registered users and 5 guests

cron