Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 1996 12:43:55 -0400 (EDT)
From:      Richard Toren <rpt@miles.sso.loral.com>
To:        questions@freebsd.org
Subject:   ?? host name resolution
Message-ID:  <Pine.SUN.3.91.960428122927.3178A-100000@miles>

next in thread | raw e-mail | index | archive | help
Gentlemen;
  I am in the process of learning HTML and such. I just installed the 
Apache httpd on my 2.1R system. I am using a ppp link to get to the net.

  The problem is "what name do I use in a URL to find my own server?" and 
"Is this Netscape going direct to DNS or FreeBSD's resolution?"

My host.conf is :
# host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp
# default, try the /etc/hosts file
hosts
# then is to use the nameserver 
bind
# If you have YP/NIS configured, uncomment the next line
# nis

Which I thought would use my local /etc/hosts file before going to the dns.

When I give a URL of "http://localhost/psi/" I see (throuh tcpdump) a 
number of requests out the link for "home.netscape.com.", 
"home6.netscape.com.", "internic.net." and "www.localhost.com.".

My /etc/hosts file contains the line:
    127.0.0.1       localhost localhost.sso.loral.com 
for resolving 'localhost'. 

 If I drop the ppp link, my server is found...?
 Any thoughts???
                         ====================================================
Rip Toren               | The bad news is that C++ is not an object-oriented |
rpt@miles.sso.loral.com | programming language. .... The good news is that   |
                        | C++ supports object-oriented programming.          |
                        |    C++ Programming & Fundamental Concepts          |
                        |     by Anderson & Heinze                           |
                         ====================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960428122927.3178A-100000>