Re: [CentOS] hostname changes

2009-06-17 Thread Bob Hoffman
>How do I change the hostname? >In particular, what is the difference between /etc/hosts and >/etc/sysconfig/network files? > Where should I make the changes? change /etc/sysconfig/netowrk and make the hostname=server.domain.com change localhostnames add the new hostname to the file

Re: [CentOS] hostname changes

2009-06-16 Thread Rainer Traut
Tom Brown schrieb: >> >> How do I change the hostname? >> In particular, what is the difference between /etc/hosts and >> /etc/sysconfig/network files? Where should I make the changes? >> > > /etc/hosts has nothing to do with the hostname this is just a way to > resolve a name to an IP where DNS

Re: [CentOS] hostname changes

2009-06-15 Thread Tom Brown
> > > How do I change the hostname? > In particular, what is the difference between /etc/hosts and > /etc/sysconfig/network files? Where should I make the changes? > /etc/hosts has nothing to do with the hostname this is just a way to resolve a name to an IP where DNS is not available or some o

Re: [CentOS] hostname changes

2009-06-15 Thread Carlos Santana
All right.. So the /etc/sysconfig/network is the right place for changing hostname. The change in /etc/hosts is to map new hostname with IP address. Thanks, CS. On Mon, Jun 15, 2009 at 12:57 PM, Rudi Ahlers wrote: > On Mon, Jun 15, 2009 at 7:51 PM, Carlos Santana wrote: > > Howdy, > > > > How d

Re: [CentOS] hostname changes

2009-06-15 Thread Rudi Ahlers
On Mon, Jun 15, 2009 at 7:51 PM, Carlos Santana wrote: > Howdy, > > How do I change the hostname? > In particular, what is the difference between /etc/hosts and > /etc/sysconfig/network files? Where should I make the changes? > > Thanks, > CS. > > ___ > C

[CentOS] hostname changes

2009-06-15 Thread Carlos Santana
Howdy, How do I change the hostname? In particular, what is the difference between /etc/hosts and /etc/sysconfig/network files? Where should I make the changes? Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listin