changing localhost name

AuntieParticle AuntieParticle at satx.rr.com
Sun Nov 30 08:32:18 UTC 2003


Graydon wrote:

>On Sat, Nov 29, 2003 at 07:01:43AM -0600, AuntieParticle scripsit:
>  
>
>>So that it will looks something like this:
>>
>>127.0.0.1        localhost.localdomain localhost
>>127.0.0.1        nameiwant.localdomain nameiwant
>>
>>Then in etc/sysconfig/network I should *change*
>>
>>HOSTNAME=localhost.localdomain
>>
>>to
>>
>>HOSTNAME=nameiwant.localdomain
>>
>>Is this correct?
>>    
>>
>
>This is not correct; you don't want to define 127.0.0.1 (which is a
>special interface) more than once.
>
Well then I'm sure glad I asked :)

>
>If all you want to do is create an alias for 'localhost', you can do it
>like:
>
>127.0.0.1   localhost  localhost.localdomain nameyouwant
>
Yes  believe this is all I wish to do.

Should I then also change in etc/sysconfig/network? :

HOSTNAME=localhost.localdomain

to

HOSTNAME=nameiwant.localdomain

or just leave that part alone?

AP









More information about the fedora-list mailing list