Re: Which file and directory contains the host name?

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux