From owner-freebsd-questions Tue Sep 5 14: 0:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f308.law8.hotmail.com [216.33.240.183]) by hub.freebsd.org (Postfix) with ESMTP id AFA5237B424 for ; Tue, 5 Sep 2000 14:00:55 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 5 Sep 2000 14:00:55 -0700 Received: from 63.207.125.156 by lw8fd.law8.hotmail.msn.com with HTTP; Tue, 05 Sep 2000 21:00:55 GMT X-Originating-IP: [63.207.125.156] From: "Terje Oseberg" To: freebsd-questions@FreeBSD.ORG Subject: Re: Apache 1.3.12 Virtual Hosts on FreeBSD 4.0 Date: Tue, 05 Sep 2000 21:00:55 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Sep 2000 21:00:55.0613 (UTC) FILETIME=[6221A6D0:01C0177C] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Tue, 5 Sep 2000, Terje Oseberg wrote: > > > Thanks for your help Willem. > > > > I changed my config file to have: > > NameVirtualHost 216.15.83.94 > > > > > > DocumentRoot /data/web/ > > ServerName alpha.etiam.net > > > > > > instead of what I had before and tried both GET queries. > > It still didn't work. What I had before does work great > > on FreeBSD 3.2 with the same version of Apache. I could > > try your changes on my 3.2 server and see if they work > > there. Do you think I should? > > > > Should this be the actual name of the virtual host and not the > > IP address? The first virtual host definition will be the default > > default site. If a client does not support HTTP/1.1 for instance > > they'll always end up on the first virtual host. > > >No. That is correct for Apache 1.2.x but not the way to do it in 1.3.x. > >The sites' A records are pointing to a different IP address, according to >their respective primary listed nameservers: > >bofh:~> nslookup www.etiam.net 207.181.192.141 >Server: hopf.dnai.com >Address: 207.181.192.141 > >Name: www.etiam.net >Address: 216.15.83.74 > >bofh:~> nslookup www.fineworks.com 216.15.83.75 >Server: mail.etiam.net >Address: 216.15.83.75 > >Name: www.fineworks.com >Address: 216.15.83.72 > > >hth > >-ac I'm not quite sure what you're saying, but I believe that you're saying that my DNS records for fineworks.com and etiam.net aren't set up properly. Well, there's a reason for that. I would like to get the 4.0 server up and running properly BEFORE I make the DNS changes. Server down time is unacceptable regardless of how irrelevant the pages that exist on them are. I believe and have been told that Apache 1.3.12 does not check the DNS records to see if they agree with what's in the config file, so as far as I know, the fact that I have not set up my DNS records to point to the new server should be irrelevant. (does anyone disagree?) In any case, because the DNS records are not set up for those domain names, in order to test to see if Apache is working as desired, I have to telnet directly to port 80 on the server and do the GET queries by hand. Terje _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message