Re: having trouble with hosts file

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

 



On Fri, 2007-09-21 at 13:02 -0500, Scott wrote:
> Hi Rick,
> 
> When you say ip address refering to the hosts file is that the ip address 
> the router sees or the actual internet address of the server?

It should be the IP address of the primary NIC (probably eth0).

> ----- Original Message ----- 
> From: "Rick Stevens" <rstevens@xxxxxxxxxxxx>
> To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
> Sent: Friday, September 21, 2007 12:13 PM
> Subject: Re: having trouble with hosts file
> 
> 
> > On Fri, 2007-09-21 at 00:23 -0500, Scott wrote:
> >> Hello there,
> >>
> >> How should a hosts file look if you want it to be called pilotalk for the
> >> root log in and on the ZInternet?
> >
> > To set the host name permanently, edit /etc/sysconfig/network and change
> > the value for the "HOSTNAME=" parameter to the FQDN (fully qualified
> > domain name).  For example, to make it pilotalk.mydomain.com:
> >
> > HOSTNAME=pilotalk.mydomain.com
> >
> > That will take effect on a reboot.  To change it immediately, use
> > "hostname pilotalk.mydomain.com".  It won't show up in the prompts until
> > you log out and back in as the hostname is picked up by your shell when
> > you log in.
> >
> > The /etc/hosts file should contain the IP address of the machine, some
> > whitespace (tabs are normal), then the FQDN of the machine, then
> > whitespace, then the common (short) name, e.g.
> >
> > 10.20.30.40   pilotalk.mydomain.com   pilotalk
> >
> > As far as the Internet is concerned, that's a function of DNS and you
> > have to tell your DNS service what the FQDN and IP address is of the
> > machine.  That varies widely depending on who your DNS service is.
> >
> > ----------------------------------------------------------------------
> > - Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
> > - CDN Systems, Internap, Inc.                http://www.internap.com -
> > -                                                                    -
> > -         If this is the first day of the rest of my life...         -
> > -                        I'm in BIG trouble!                         -
> > ----------------------------------------------------------------------
> >
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
> >
> >
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.488 / Virus Database: 269.13.27/1020 - Release Date: 
> > 9/20/2007 12:07 PM
> >
> > 
> 
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
- Linux is like a wigwam...no windows, no gates...and apache inside! -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux