From owner-freebsd-questions Sat Sep 29 8:53:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stuff.webintl.com (ns.webintl.com [209.248.144.5]) by hub.freebsd.org (Postfix) with ESMTP id A15AB37B40A for ; Sat, 29 Sep 2001 08:53:49 -0700 (PDT) Received: from [192.168.123.20] (adsl-66-136-237-161.dsl.ltrkar.swbell.net [66.136.237.161]) by stuff.webintl.com (8.9.3/8.9.3) with ESMTP id KAA25071 for ; Sat, 29 Sep 2001 10:53:48 -0500 Mime-Version: 1.0 X-Sender: freebsd@mail.webintl.com Message-Id: In-Reply-To: References: <4.2.2.20010929104739.00a3f930@popd.betan.net> <1647929271.20010929165807@e-box.dk> Date: Sat, 29 Sep 2001 10:53:45 -0500 To: freebsd-questions@freebsd.org From: Albert Everett Subject: Re: http configuration - dns? Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable 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 What about dns? >In message <1647929271.20010929165807@e-box.dk>, S=F8ren Neigaard > writes >>Saturday, September 29, 2001, 4:50:26 PM, Walter wrote: >> >>WB> All, >> >>WB> I want to configure apache to respond >>WB> to www.AnyDomain.com and AnyDomain.com >> >>WB> - with and without the www. >> >>WB> can some one help me on this. >> >>In httpd.conf do: >> >>NameVirtualHost YOUR_IP_HERE >> >> >> ServerName AnyDomain.com >> >> >> >> ServerName www.AnyDomain.com >> > >Just a personal taste thing but look into aliases as well: > > > ServerName AnyDomain.com > ServerAlias www.AnyDomain.com > > >You can include UseCanonicalName to play with how the domain appears to >visitors, http://httpd.apache.org/docs/ will tell you more. > >Kevin >-- >kevin@caomhin.demon.co.uk > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- ----------------------------------------------------------------------- Albert Everett - Web International, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message