[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Domain Name



george wrote:

should this be the fully qualified domain name or just hostname?

I have read two differing accounts on this

In general, it should be the fully qualified domain name. If you don't have a domain name to use, you can even just 'invent' one and use it, eg. hostname.mydomain. However, in case you do set your hostname to just a name, without a domain, it won't do any harm.


-----Original Message-----
From: redhat-list-admin redhat com
[mailto:redhat-list-admin redhat com]On Behalf Of Anand Buddhdev
Sent: Sunday, 12 January 2003 9:25 AM
To: redhat-list redhat com
Subject: Re: Domain Name


Ted Gervais wrote:



I feel a little sheepish in asking this question on the list but what the heck. Here it goes.

I have RH8 running very well. Everything seems to be fine. But I notice that somehow I never set my hostname. Or at least, the hostname that keeps appearing is 'localhost'. Of course that appears in my /etc/hosts file.

I am sure everyone has a better host name than 'localhost' and was wondering about making a change here. If I do make a change though, will that screwup sendmail or the network etc..??

Also, how does one make a change to another hostname? And how is this done permanently.


Edit /etc/sysconfig/network, and set your hostname there. It will be set correctly at every bootup then. For completenesses sake, also edit /etc/hosts, and change localhost.localdomain to your new hostname.




-- Anand Buddhdev http://anand.org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]