Which file and directory contains the host name?

David Nelson commerce at traduction.biz
Sat Nov 20 12:02:49 UTC 2010


Thanks, Doc and Andras. :-)

David Nelson

On Sat, Nov 20, 2010 at 19:51, Robert G. (Doc) Savage
<dsavage at peaknet.net> wrote:
> On Sat, 2010-11-20 at 19:39 +0800, David Nelson wrote:
>> Hi, :-)
>>
>> Which file and directory contains the host name (on an FC12 VPS)?
>>
>> Is it enough just to edit the domain name in that file or do I need to
>> do something else?
>>
>> TIA for any answer. :-)
>
> David,
>
> I think you are looking for /etc/sysconfig/network, specifically the
> HOSTNAME= line. This can be edited by root, or altered by root using the
> hostname command. The host and domain names may also have been added to
> your local /etc/hosts file.
>
> --Doc Savage
>  Fairview Heights, IL
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>


More information about the users mailing list