From owner-freebsd-questions Sun Jun 22 16:00:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA26973 for questions-outgoing; Sun, 22 Jun 1997 16:00:26 -0700 (PDT) Received: from spacehog.structured.net (spacehog.structured.net [206.58.33.145]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA26967 for ; Sun, 22 Jun 1997 16:00:22 -0700 (PDT) Received: from spacehog.structured.net (localhost [127.0.0.1]) by spacehog.structured.net (8.8.5/8.8.5) with ESMTP id QAA00290 for ; Sun, 22 Jun 1997 16:01:36 GMT Message-ID: <33AD4C5F.99EDD5A2@spacehog.structured.net> Date: Sun, 22 Jun 1997 16:01:35 +0000 From: Justin Ashworth Reply-To: justin@structured.net Organization: Pretty cruddy X-Mailer: Mozilla 4.0b5C (X11; I; FreeBSD 3.0-970209-SNAP i386) MIME-Version: 1.0 To: questions@freebsd.org Subject: Accessing local web page X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I cannot for the life of me access my web page (http://spacehog.structured.net) from my own machine. I can't even access it with http://localhost. However, I can access my page from other machines with no problem. I can reach other sites fine, so my /etc/resolv.conf is OK. I figure my problem most likely lies in my /etc/hosts file, but I can't figure out where. My /etc/hosts looks like this: ------------------- 127.0.0.1 localhost 206.58.33.145 spacehog.structured.net spacehog ------------------- My host.conf places bind before hosts, but I've tried the other way around as well. I'm not running bind on my machine. I'm starting Apache in standalone mode (vs. inetd). "ifconfig -a" spits out the following: ------------------- lp0: flags=8810 mtu 1500 tun0: flags=8051 mtu 1500 inet 206.58.33.145 --> 206.58.0.20 netmask 0xffffff00 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ------------------- Looks healthy to me. I'm dialing up to a Portmaster running Radius for authentication. I have a static IP and a 24x7 connection. I seem to have tried everything, but maybe somebody else can see something I can't. Thanks... ---------------------------------------------------------------- Justin Ashworth, Intern Structured Network Systems justin@structured.net http://www.structured.net ---------------------------------------------------------------- Texas law forbids anyone to have a pair of pliers in his possession.