Date: Tue, 10 Feb 1998 19:46:01 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Ken Blundell <ken@osicom.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Virtuals Message-ID: <Pine.BSF.3.96.980210194440.29893e-100000@gdi.uoregon.edu> In-Reply-To: <01bd364a$637da3a0$0667eccf@webcity.osicom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <virual> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980210194440.29893e-100000>