From owner-freebsd-questions Tue Aug 18 08:11:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01738 for freebsd-questions-outgoing; Tue, 18 Aug 1998 08:11:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from harfang.CC.UMontreal.CA (harfang.CC.UMontreal.CA [132.204.2.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA01733 for ; Tue, 18 Aug 1998 08:11:45 -0700 (PDT) (envelope-from beaupran@JSP.UMontreal.CA) Received: from epsom.jsp.umontreal.ca (epsom.JSP.UMontreal.CA [132.204.45.25]) by harfang.CC.UMontreal.CA (8.8.8/8.8.8) with SMTP id LAA22402 for ; Tue, 18 Aug 1998 11:11:10 -0400 (EDT) Received: from outpost.nada.org (derby.jsp.umontreal.ca [132.204.45.26]) by epsom.jsp.umontreal.ca via SMTP (951211.SGI.8.6.12.PATCH1502/JSP1789) id LAA21193 for ; Tue, 18 Aug 1998 11:11:09 -0400 Date: Tue, 18 Aug 1998 11:13:53 -0400 (EDT) From: Spidey X-Sender: beaupran@outpost.nada.org To: Questions=answers Subject: Configure my server names... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi again! For info, uname -a: FreeBSD outpost.nada.org 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Fri Aug 7 10:55:47 EDT 1998 beaupran@outpost.nada.org:/usr/src/sys/compile/HALL i386 I recently installed apache on my system. When I try to connect to my own server using http://localhost , everything's fine and it's connecting. However, when I try http://outpost.nada.org (see above) it says: A network error occurred, the server may be down or unreachable... There is nothin relevent in the apache logs... It's been 6 months since I have FreeBSD installed on my system. When I did it, I didn't really cared about hostnames and DNSs, simply because I didn't know what they meant, but now I'm just confused... I include here relevant files (resolv.conf, hosts, host.conf...) -------------------------------- Resolv.conf file: -------------------------------- domain outpost.nada.org nameserver 132.204.2.103 nameserver 132.204.2.102 # These two DNS are necessary to my ppp connection -------------------------------- Hosts file: -------------------------------- # $Id: hosts,v 1.6 1996/03/20 15:29:10 adam Exp $ 127.0.0.1 localhost localhost.my.domain 10.0.0.1 outpost.nada.org nada #132.204.46.26 derby.jsp.umontreal.ca #132.204.46.25 epsom.jsp.umontreal.ca -------------------------------- Hosts.conf file: -------------------------------- # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the nameserver first bind # If that doesn't work, then try the /etc/hosts file hosts # If you have YP/NIS configured, uncomment the next line #nis -------------------------------- networks file (I don't know what this is really and never changed it) -------------------------------- # @(#)networks 5.1 (Berkeley) 6/30/90 # # Your Local Networks Database # your-net 127 # your comment your-netmask 255.255.255 # subnet mask for your-net # # Your subnets # subnet1 127.0.1 alias1 # comment 1 subnet2 127.0.2 alias2 # comment 2 # # Internet networks (from nic.ddn.mil) # ---------------------------------- End of included files ---------------------------------- Please, any comment or example or anything is welcome... Spidey How 'bout a little ride through your own world? http://www.JSP.UMontreal.CA/~beaupran/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message