From owner-freebsd-questions Tue Feb 10 19:35:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA24107 for questions-outgoing; Tue, 10 Feb 1998 19:35:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mirageport.com (mirageport.com [204.134.94.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA23987 for ; Tue, 10 Feb 1998 19:34:41 -0800 (PST) (envelope-from cowan@mirageport.com) Received: from hercules.mirageport.com (hercules.mirageport.com [204.134.94.35]) by mirageport.com (8.8.7/8.8.7) with SMTP id UAA12643; Tue, 10 Feb 1998 20:32:37 -0700 (MST) (envelope-from cowan@mirageport.com) Message-ID: <039f01bd369c$b3623dc0$235e86cc@hercules.mirageport.com> From: "Cowan Bowman" To: "Ken Blundell" , Subject: Re: Virtuals Date: Tue, 10 Feb 1998 20:25:28 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: Ken Blundell To: freebsd-questions@freebsd.org Date: Tuesday, February 10, 1998 10:45 AM Subject: Virtuals >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" > I added this towards the end of my rc.network file and it works for me. # Alias following IP Addresses echo -n 'Aliasing' echo -n ' 204.134.75.61'; ifconfig ep0 inet 204.134.75.61 netmask 255.255.255.255 alias echo '.' >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! > >ANY help would be appreciated, if you could point me to some sort of >documentation or web page that outline the steps involved, I would be >forever in your debt! :-) >Sorry for being so forward but, the powers that be are breathing down my >neck! > >Cheers, > Ken. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message