Red Hat Enterprise Linux > Networking > Issue
<<
67 of 351
>>
Issue:
Where do I set the local hostname and domain name of my machine?
Resolution:
You can use the
redhat-config-network tool (either from the command line or from the Network icon in the System Settings menu in the GUI) to set the hostname of your machine. Go to the DNS tab and set the hostname there.
The local hostname is found as the value of the HOSTNAME setting in the file
/etc/sysconfig/network. This hostname will be used by some programs as a default in order to generate a valid return path to your machine. Other programs will allow this setting to be overridden.
For example:
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
|
In order for your machine to be accessible from other machines on the network using this hostname there must be a valid entry mapping your system's hostname to its physical network address in the name resolution service that is in use on the network that your machine is connected to, for example DNS on the Internet. Please contact your network administrator for details on creating this entry.
Red Hat Enterprise Linux
>
Networking
> Issue
<<
67
of
351
>>