From owner-freebsd-questions Thu Dec 23 11:43:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id 13DCF1563E for ; Thu, 23 Dec 1999 11:43:10 -0800 (PST) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcB-063.sub-b.lee.net [208.205.125.63]) by trinity.lee.net (8.9.1/8.9.0) with ESMTP id NAA02961; Thu, 23 Dec 1999 13:43:06 -0600 Message-ID: <38627C57.929370A0@journalstar.com> Date: Thu, 23 Dec 1999 13:47:35 -0600 From: Tony Wells X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Stuart Rogers Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache AND etc/host problem References: <000801bf4d73$e309a0a0$23144818@cableregina.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FreeBSD has to be listening on that second IP. You'll need an alias on your machine to accomplish this. The command is ifconfig. Here is an example: ifconfig ep0 inet 10.14.37.20 netmask 255.255.255.255 alias Of course your IP will be different, and possibly the name of your interface. (ep0) You can then 'ifconfig -a' and make sure your NIC is really listening on that IP. Good luck! > Stuart Rogers wrote: > > I'm trying to get Apache 1.3.9 running virtual hosts on FreeBSD > 3.3. I had Apache installed and would not work untill I changed the > etc/host file and then it worked but now when I enable Virtual Hosts > in apache it does the same problem and neither of the Hosts work. What > is happening here? I have tried going through all the FAQ and such I > can find but nothing is working. Is there a place I have to enable the > second IP to work with Apache or does anyone know why this is > happening. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message