Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 09:08:44 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Peter Pluta <peter@placidpublishing.net>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD Hostname Question - Whats The Proper Way
Message-ID:  <6.0.0.22.2.20070830090656.02641c48@mail.computinginnovations.com>
In-Reply-To: <12398404.post@talk.nabble.com>
References:  <12398274.post@talk.nabble.com> <200708291916.58069.freebsd@dfwlp.com> <12398404.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:19 PM 8/29/2007, Peter Pluta wrote:



>Jonathan Horne wrote:
> >
> > On Wednesday 29 August 2007 19:05:06 Peter Pluta wrote:
> >> I have a box with 5 ip's pointing to it. Most of the things I run (http,
> >> smtp) are virtual or allow me to specify the hostname (postfix) - so I'm
> >> wondering what the machines hostname should be? By default it's
> >> localhost.localdomain. This has always confused me from the begining when
> >> I
> >> first started using FreeBSD, can anyone chime in? It would greatly
> >> appreciated.
> >>
> >> Thanks!
> >
> > its fairly simple actually.  example:
> >
> > my system's name is athena.  my domain, is dfwlp.com... thus my computer
> > is
> > athena.dfwlp.com.  the hostname command can show you waht your current
> > hostname is:
> >
> > [jhorne@athena ~] $ hostname
> > athena.dfwlp.com
> >
> > also, there is a line in /etc/rc.conf that specifys the system's hostname
> > when
> > you start up:
> >
> > [jhorne@athena ~] $ cat /etc/rc.conf|grep hostname
> > hostname="athena.dfwlp.com"
> >
> > finally, when you are installing freebsd, during the "network
> > configuration"
> > page, the "Host:" box would be where i would put "athena", and the
> > "Domain:"
> > box would be where i put "dfwlp.com" (when you set your domain, you dont
> > put
> > the . in front of the domain name, ie, dont put .dfwlp.com in the domain
> > box).
> >
> > cheers,
> > --
> > Jonathan Horne
> > http://dfwlpiki.dfwlp.org
> > freebsd@dfwlp.com
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> >
> >
>
>Right, my current box is mail.placidpublishing.com, I only have 1 box, and
>it does web and mail. I just picked placidpublishing and used that since it
>was a domain I had laying arond. Is that "ok"? How does one pick a domain?
>Just any old domain? I keep visualizing a domain as in 3-4 servers each of
>which has a hostname mail, web, etc..

Pick a domain you own, or buy a new one.  They is why there are so many 
domain possibilities these days, like .info, .biz, etc. in addition to the 
"regular" .com, .net, .org

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20070830090656.02641c48>