From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 09:15:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CCCA16A4B3 for ; Thu, 23 Oct 2003 09:15:21 -0700 (PDT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A4543FD7 for ; Thu, 23 Oct 2003 09:15:19 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.188]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 23 Oct 2003 11:17:56 -0500 Message-ID: <3F97FE3B.309@daleco.biz> Date: Thu, 23 Oct 2003 11:13:47 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Damien Hull References: <1066924537.8233.21.camel@debian> In-Reply-To: <1066924537.8233.21.camel@debian> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Oct 2003 16:17:56.0718 (UTC) FILETIME=[381420E0:01C39981] cc: freebsd-questions@freebsd.org Subject: Re: Apache on two nic's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 16:15:21 -0000 Damien Hull wrote: >I've got Apache running on 4 stable. The server started out with one >network card plugged into our privet network. We could get to the >website on the server just fine. > >Here is what we want > >1. access from the outside >2. some websites will be internal and others will be public > > >Here is my quick solution >1. Added a second network card to the server >2. connected the network card to the outside of the network >3. tired to connect to the website on the new IP address >4. Got nothing >5. Added a virtual server that listened on the new address but got >nothing. > > > You did restart Apache after making changes? >I've looked at the Apache config file and there is a place to put in an >IP address but I left that alone. As fare as I can tell it's listening >to all addresses. > > Does 'netstat -anf inet' confirm this? Kevin Kinsey DaleCo, S.P.