From owner-freebsd-questions Mon Sep 9 07:09:49 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA22232 for questions-outgoing; Mon, 9 Sep 1996 07:09:49 -0700 (PDT) Received: from gage.com (ns.gage.com [205.217.2.4]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA22223 for ; Mon, 9 Sep 1996 07:09:46 -0700 (PDT) Received: from octopus by gage.com (NX5.67d/NX4.2M) id AA04154; Mon, 9 Sep 96 09:10:28 -0500 Received: from squid by octopus.gage.com (NX5.67e/NX3.0S) id AA20333; Mon, 9 Sep 96 09:05:29 -0500 Received: from insomnia by squid.gage.com (NX5.67e/NX3.0S) id AA12177; Mon, 9 Sep 96 09:10:02 -0500 Message-Id: <9609091410.AA12177@squid.gage.com> Received: by insomnia.gage.com (NX5.67g/NX3.0X) id AA00465; Mon, 9 Sep 96 09:10:15 -0500 Mime-Version: 1.0 (NeXT Mail 4.0 v146.2) Content-Type: text/enriched; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <32344453.875@www.odod.ohio.gov> X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3) Received: by NeXT.Mailer (1.146.2) From: Ben Black Date: Mon, 9 Sep 96 09:10:12 -0500 To: Rob Buchanan Subject: Re: Multi host web server on FreeBSD Cc: FreeBSD-questions@freebsd.org References: <32344453.875@www.odod.ohio.gov> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ifconfig ep0 inet ip_address alias route add ip_address localhost replace ep0 with the name of the interface you wish to alias. replace ip_address with the ip address you want to use for the virtual server. if you are using 2.1.0 then you will need to execute the ifconfig twice (the first one will generate an error...just ignore it). put those lines in your rc.local before you start the apache server. you can do that as many times as you want to continue adding virtual hosts. b3n black@cypher.net ps - yes, i will be putting up the ip aliasing howto this week...was on vacation last week.