From owner-freebsd-questions Tue Jul 4 9:29:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.mia.bellsouth.net (mail2.mia.bellsouth.net [205.152.144.14]) by hub.freebsd.org (Postfix) with ESMTP id 3869F37B98D for ; Tue, 4 Jul 2000 09:29:01 -0700 (PDT) (envelope-from pineypl@bellsouth.net) Received: from bellsouth.net (adsl-61-16-127.mia.bellsouth.net [208.61.16.127]) by mail2.mia.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id MAA03978 for ; Tue, 4 Jul 2000 12:28:59 -0400 (EDT) Message-ID: <39621373.4A3F2C4B@bellsouth.net> Date: Tue, 04 Jul 2000 12:40:19 -0400 From: Bob Collins X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Undelivered Mail Returned to Sender Content-Type: multipart/mixed; boundary="------------55C85EB625A027C7CEF4FD35" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------55C85EB625A027C7CEF4FD35 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nathan Vidican wrote: > > Again, I am using NAME based hosting, there are almost 200 sites hosted > on that one IP address. My virtualhost setup looks something like this: > > NameVirtualHosts x.94.149.9:80 > > > ServerName www.whatever.com > DocumentRoot /home/someuser/public_html > > > > ServerName www.whatever.net > DocumentRoot /home/user/public_html > > > > ServerName www.whatelse.com > DocumentRoot /home/some-user/public_html > > > I cannot simply put and host on an IP basis; we're > expecting to host in the neighborhood of 2-3 thousand websites, and we > don't want to waste static IP's on those we don't have to. Read the entire contents of httpd.conf and read the pages at http://www.apache.org/docs/vhosts/name-based.html This will tell you it can be done and will even have some examples. There must be at least one IP address used to make it happen, after that HTTP1.1 uses the name almost as a filter once the site has been reached via ONE shared IP address. -- Bob Collins --------------55C85EB625A027C7CEF4FD35 Content-Type: message/rfc822; name="nsmail3962134E0062074" Content-Transfer-Encoding: 7bit Content-Description: Undelivered Message Content-Disposition: inline; filename="nsmail3962134E0062074" Received: from mail2.mia.bellsouth.net (mail2.mia.bellsouth.net [205.152.144.14]) by hub.freebsd.org (Postfix) with ESMTP id 5E7E837B747 for ; Tue, 4 Jul 2000 06:44:58 -0700 (PDT) (envelope-from pineypl@bellsouth.net) Received: from bellsouth.net (adsl-61-16-127.mia.bellsouth.net [208.61.16.127]) by mail2.mia.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id JAA01587 for ; Tue, 4 Jul 2000 09:44:57 -0400 (EDT) Sender: bob@mail2.mia.bellsouth.net Message-ID: <3961ED01.DBFB2F60@bellsouth.net> Date: Tue, 04 Jul 2000 09:56:17 -0400 From: Bob Collins X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions-freebsd@freebsd.org Subject: Re: Apache Virtualhosts an multiple addresses References: <3961CF36.104BB7D6@wmptl.com> <3961D38D.9A74CE2A@myself.com> <3961D4B0.3423DEDA@wmptl.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nathan Vidican wrote: > > Again, I am using NAME based hosting, there are almost 200 sites hosted > on that one IP address. My virtualhost setup looks something like this: > > NameVirtualHosts x.94.149.9:80 > > > ServerName www.whatever.com > DocumentRoot /home/someuser/public_html > > > > ServerName www.whatever.net > DocumentRoot /home/user/public_html > > > > ServerName www.whatelse.com > DocumentRoot /home/some-user/public_html > > > I cannot simply put and host on an IP basis; we're > expecting to host in the neighborhood of 2-3 thousand websites, and we > don't want to waste static IP's on those we don't have to. Read the entire contents of httpd.conf and read the pages at http://www.apache.org/docs/vhosts/name-based.html This will tell you it can be done and will even have some examples. There must be at least one IP address used to make it happen, after that HTTP1.1 uses the name almost as a filter once the site has been reached via ONE shared IP address. -- Bob Collins --------------55C85EB625A027C7CEF4FD35-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message