Re: Changing hostname?

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



on 9-14-2008 12:06 AM Marcus Moeller spake the following:
Dear Bob.

/etc/sysconfig/network
Hostname=server1.mydomain.com
(where the domain is one of my websites on the server, actually my name
server too)

As mentioned before, I cannot see that this variable is used in any form.

Change /etc/hosts
First of all, leave all the original stuff and do not alter.
Underneath the original stuff, just add
<ipaddress>  server1.mydomain.com

REBOOT

If you have read the initial posting this is about setting up the
hostname on machines without a network connection (but loopback).

Best Regards
Marcus
Why does a system that doesn't have any way to communicate with any other machine even need a hostname?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux