Re: changing localhost name

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

 



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








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

  Powered by Linux