From owner-freebsd-apache@FreeBSD.ORG Sat Nov 12 15:17:05 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDC6C16A41F for ; Sat, 12 Nov 2005 15:17:05 +0000 (GMT) (envelope-from malcolm@asauthors.org) Received: from mailhost.catholic.org (mailhost.catholic.org [66.122.14.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC44343D46 for ; Sat, 12 Nov 2005 15:17:05 +0000 (GMT) (envelope-from malcolm@asauthors.org) Received: from webmail.catholic.org (webmail.catholic.org [66.122.14.27]) by mailhost.catholic.org (8.12.11/8.12.11) with SMTP id jACFH40V022946 for ; Sat, 12 Nov 2005 07:17:04 -0800 Received: from 220.233.101.28 (SquirrelMail authenticated user scrpt) by webmail.catholic.org with HTTP; Sat, 12 Nov 2005 15:17:04 -0000 (GMT) Message-ID: <53877.220.233.101.28.1131808624.squirrel@webmail.catholic.org> Date: Sat, 12 Nov 2005 15:17:04 -0000 (GMT) From: "M Fitzgerald" To: freebsd-apache@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: virtual hosts take an age to resolve X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 15:17:06 -0000 I'm new to freeBSD and I want to be using it as a test server for web development. Apache is running but I am having trouble with virtual hosts. Requesting a static page from a virtual host address takes a long time. It seems as though the request for virtual.host.name is being sent to the internet DNS, where (of course) it can't be found before it tries locally. I have tried to treat it as a problem with httpd.conf. I've been on irc #apache but they ran out of advice without finding a solution. Now I'm treating it as a BSD network configuration problem. I looked at resolv.conf and named.conf but they appear to be correct. I'm too new to be sure. This is what I'm sure of. I have this line in hosts. 127.0.0.1 dummy.ccccnsw.org.au cccc typing cccc in the location bar of a web browser does two things: 1. the nickname immediately switches to http://dummy.ccccnsw.org.au 2. after a minute or two the page is displayed Where should I be looking to fix this problem? ---------------------------------------------------- Catholic Financial Services Send and Receive all online Payments and Donations No Merchant Account Required! https://www.catholicfs.org/