From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 17:58:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4120B16A41F for ; Wed, 10 Aug 2005 17:58:07 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA65343D5C for ; Wed, 10 Aug 2005 17:57:58 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: by rproxy.gmail.com with SMTP id 34so66090rns for ; Wed, 10 Aug 2005 10:57:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pvDvYhjKCF3ZWWAwhm6I9s/i0Lu6OMke2FIxJxPMmWKv1zU6Z2Nn2Zofokswor20vPFX6Tz9NuwNqxGIdEmAfr0obTc956SolxyyCXUPLvA7eimG8CSn5MgWJndZCwnAqwUELX3r8HGIySh+ZdaQAGofcLLRbIe1FD6Om0oWz0c= Received: by 10.38.8.76 with SMTP id 76mr39267rnh; Wed, 10 Aug 2005 10:57:58 -0700 (PDT) Received: by 10.38.8.23 with HTTP; Wed, 10 Aug 2005 10:57:58 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2005 13:57:58 -0400 From: Hornet To: Carstea Catalin In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Simple question of dns? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 17:58:07 -0000 On 8/10/05, Carstea Catalin wrote: > I want to configure my dns to redirect all request from : > http://www.mail.mydomain.com > to > http://mail.mydomain.com > Many users do first request and my server respond only al the second url= . > Tks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 DNS will not do "redirects", that's a function of a web server. You can do an aliases. The format would be like this in the zone file. www.mail IN CNAME mail.domain.com. So going to www.mail.domain.com is the same as using mail.domain.com. The only time it is not good to do the above, is when your web server is doing name based virtual hosting. -Erik-