From owner-freebsd-questions Tue Jun 18 20:47:13 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA00663 for questions-outgoing; Tue, 18 Jun 1996 20:47:13 -0700 (PDT) Received: from synwork.com (flaq@synwork.com [199.3.234.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA00651 for ; Tue, 18 Jun 1996 20:47:07 -0700 (PDT) Received: from localhost (flaq@localhost) by synwork.com (8.7.5/8.6.12) with SMTP id WAA18234; Tue, 18 Jun 1996 22:45:39 -0500 (CDT) Date: Tue, 18 Jun 1996 22:45:39 -0500 (CDT) From: "Mike K." To: John Clark cc: questions@freebsd.org Subject: Re: apachie web alias In-Reply-To: <2.2.32.19960618215956.0093dfc4@netview.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk You need to add a entry in httpd.conf On Tue, 18 Jun 1996, John Clark wrote: > Hello, wondering if I could get some advice on configuring apachie to > respond to 2 IP's. My server sits on two networks, and has 2 IP addresses. > I have set my www ip to the "better" IP, but other domain names are the > "worse" IP, and I want to respond to them too. > > ie. > coolnet.net 10.1.1.1 > coolnet.net 192.2.2.2 > www.coolnet.net 10.1.1.1 > > I set the apachie bindaddress to 10.1.1.1 (www.coolnet.net), but if someone > hits the site using "coolnet.net" (that is 192.2.2.2), I want to respond to > that, and give a server directive to switch to "www.coolnet.net." > > I assume a server alias is in order, but have failed thus far at > implementing and such technique. Any help is appreciated. > > Thanks, > > > > John Clark > [jrclark@netview.net] > > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Syn-Work Media, Inc. | WWW Development & Hosting | Life Safety http://www.synwork.com | Systems Integration | CCTV mike@synwork.com | Voice/Data/Fiber | Access Control Flaq on IRC | Dukane Distributor | BICSI/RCDD ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~