*BSD News Article 72597


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!gatech!news.mathworks.com!nntp.primenet.com!news.cais.net!nntp.uio.no!news.kth.se!news
From: tomasg@sec11.dsv.su.se (Tomas Gustavsson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help finding my web server!!!
Date: 2 Jul 1996 07:43:54 GMT
Lines: 29
Message-ID: <4rajvq$4tp@news.kth.se>
References: <31D88009.52EF@ns.hondunet.net>
NNTP-Posting-Host: sec11.dsv.su.se
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

In article <31D88009.52EF@ns.hondunet.net>,
	"Samuel E. Romero" <sromero@ns.hondunet.net> writes:
>I've setup a FreeBSD 2.0 box and have to PC's connected to it through 
>ethernet cards, when I do a "ping pc1" or "ping pc2" from the unix 
>machine it works, when I do a ping from PC1 or PC2 to HOST it works, but 
>when I do a ping www.xx.xx from PC1 or PC2 timeout error occurs.  I 
>added a ifconfig lo0 alias www on the configuration (sysconfig) and when 
>i do a ping www on a unix screen it works, how can I access my web 
>server in the unix machine from the PC's??

For the PCs to be able to find a fully qualified hostname over the
network you either:
Have to setup a DNS server (nameserver) using for exmaple BIND on the
FreeBSD can.
or
Manually define the hostname www.xx.xx in the pc's hosts file.

If the setup won't be bigger than what you describe it is probably
easiest just to add the entry into the PC's hostfile, but if you wanät
some other people to access your WWW server you must set up your DNS
server.

Regards,
Tomas Gustavsson 
Computer Security Technologies CST AB
Email: tomasg@cost.se
Tel: +46 8 16 17 01
Fax: +46 8 471 77 22