From owner-freebsd-questions Tue Feb 10 19:47:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27874 for questions-outgoing; Tue, 10 Feb 1998 19:47:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27692 for ; Tue, 10 Feb 1998 19:46:16 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id TAA00306; Tue, 10 Feb 1998 19:46:01 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 10 Feb 1998 19:46:01 -0800 (PST) From: Doug White Reply-To: Doug White To: Ken Blundell cc: freebsd-questions@FreeBSD.ORG Subject: Re: Virtuals In-Reply-To: <01bd364a$637da3a0$0667eccf@webcity.osicom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Feb 1998, Ken Blundell wrote: > Hello, > I am running FreeBSD 2.2.2 as our main internet server and would like to > setup some virtual hosts. > I've gone through all of the documentation and FAQ's I could find but I am > still having no luck with setting up a virtual. I have the Internic > registration completed and have added this to the /etc/rc.local file: > > ifconfig_ed2_alias0="inet 207.236.103.161 netmask 255.255.255.255" That belongs in /etc/rc.conf, actually. > and I also added it to the /etc/hosts file: > > 207.236.103.161 tipoftheweb.com tipoftheweb > > I've also created a /etc/namedb/db.tipoftheweb file and changed the > httpd.conf file ro reflect the Virtual directive. > > If I type in http://www.tipoftheweb.com (the virtual i'm trying to add) it > resolves to http://www.osicom.net : thats our primary! Did you: 1. Set up a new A record for tipoftheweb that points to your alias? 2. Kill -HUP named? 3. Point apache to a new DocumentRoot in your block? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message