From owner-freebsd-questions Mon Jun 3 4:47:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dns.perimeter.co.za (dns.perimeter.co.za [196.25.164.254]) by hub.freebsd.org (Postfix) with ESMTP id 1AF2137B401 for ; Mon, 3 Jun 2002 04:47:34 -0700 (PDT) Received: from there (vic-dial-196-30-232-159.mweb.co.za [196.30.232.159]) by dns.perimeter.co.za (8.11.1/8.11.1) with SMTP id g53BlG128663; Mon, 3 Jun 2002 13:47:16 +0200 (SAST) (envelope-from bsd@perimeter.co.za) Content-Type: text/plain; charset="iso-8859-2" From: "Patrick O'Reilly" Organization: Perimeter Networks CC Message-Id: <200206031347.00854@.perimeter.co.za> To: Dennis Murren , freebsd-questions@FreeBSD.ORG Subject: Re: DNS Date: Mon, 3 Jun 2002 13:49:48 +0200 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon 03 Jun 02 13:16, Dennis Murren wrote: > Hi all! > > I'm new to FreeBSD and DNS as well, and I have a really > basic question. I'd like to access my virtual hosts without > the www in front of the domain name. (like mydomain.com) > > I put the following line into the zone file: > > IN A ip address > > In this case, all virtual hosts pointed to the servers main > domain. > > Could somebody tell me what is the solution? Dennis, Make sure you also have entries in httpd.conf for the virtual host without the "www" prefix. Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message