From owner-freebsd-isp Thu Aug 29 01:18:42 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA24223 for isp-outgoing; Thu, 29 Aug 1996 01:18:42 -0700 (PDT) Received: from esimene.cynet.net.au (root@esimene.cynet.net.au [203.24.16.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA24194 for ; Thu, 29 Aug 1996 01:18:34 -0700 (PDT) Received: from warpy.cynet.net.au (warpy.cynet.net.au [203.24.16.100]) by esimene.cynet.net.au (8.7.5/8.6.12) with SMTP id SAA00191 for ; Thu, 29 Aug 1996 18:18:10 +1000 (EST) Message-Id: <199608290818.SAA00191@esimene.cynet.net.au> From: Mikel Lindsaar Date: Thu, 29 Aug 96 18:17:59 +1000 To: freebsd-isp@freebsd.org Subject: Virtual Hosting and Apache X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.1 Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Right. Let me see if I have this straight (it is working for one domain but I am not sure if it will work for more) I am using Apache 1.0.5 and FreeBSD 2.1.0 Stable I want to virtual host www.my.com.au and www.au.some.com. Under /usr/local/etc/http/conf/httpd.conf I have the following (relevant only) [Begin Sniplette] BindAddress * ServerAdmin webmaster@cynet.net.au DocumentRoot /www/virtual/www.my.com.au ServerName www.my.com.au ErrorLog logs/www.my.com.au-error_log TransferLog logs/www.my.com.au-access_log ServerAdmin webmaster@cynet.net.au DocumentRoot /www/virtual/www.au.some.com ServerName www.au.some.com ErrorLog logs/www.au.some.com-error_log TransferLog logs/www.au.some.com-access_log [EndSniplette] I have created the directories /www/virtual/www.my.com.au and /www/virtual/www.au.some.com and put the relevant files in there. I have organised the following DNS entries to be put in their appropriate files: www.my.com.au. IN A 203.24.16.10 <== "unused" IP Address www.au.some.com. IN A 203.24.16.12 <== "unused" IP Address 10 IN PTR www.my.com.au. 12 IN PTR www.au.some.com. Now. Does anyone see any problems with this? And can I keep doing this until I run out of system resources (ram, hdd, processor speed)? Also. Does the virtual hosting only apply to complete domains? Or can you virtual host a single name of a domain? Such as in the above example, creating an entry for computer1.cynet.net.au when the httpd process is running on www.cynet.net.au? Thanks all for your time Regards and Salutations, Mikel -- ----------------------------------------------------------- Mikel Lindsaar | "The dream is the foundation, mikel@cynet.net.au | of our society!" -----------------------------------------------------------