From owner-freebsd-questions Thu Apr 26 20:56:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shorts.nts-online.net (dns2.nts-online.net [216.167.161.36]) by hub.freebsd.org (Postfix) with ESMTP id 8D66C37B422 for ; Thu, 26 Apr 2001 20:56:38 -0700 (PDT) (envelope-from clcont@gmx.net) Received: from contrec (dialup-lbb-0750.nts-online.net [216.167.135.114]) by shorts.nts-online.net (8.11.0/8.11.0) with SMTP id f3R3kWn26431; Thu, 26 Apr 2001 22:46:32 -0500 Message-ID: <001601c15e9b$62c87250$0101a8c0@contrec> From: "Christopher Leigh" To: "Jonathan Fortin" , References: <200104270339.NAA26008@tungsten.austclear.com.au> <001c01c15e99$585c3650$0101a8c0@contrec> <004701c0cecd$759cc600$0200320a@node00> Subject: Re: *.example.net Date: Fri, 26 Oct 2001 22:56:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i want something like... like cjb.net does. it's pretty cool... i like the idea... and i'd like to do it, too. just wondering if it's possible. i know how to use the ServerAlias directive. :) i guess it would be a CNAME instead of an A record... i just want to know how *.contrec.cjb.net can resolve... like... sdflkjsdfkljsfdlkjfsd.contrec.cjb.net resolves. ----- Original Message ----- From: "Jonathan Fortin" To: "Christopher Leigh" Cc: Sent: Thursday, April 26, 2001 10:52 PM Subject: Re: *.example.net > Dude, > > Their is something called, SERVERALIAS!!! > > ServerAlias *domain.com in your virtualhost directive for apache that is. > > and all mistypes will lead to the correct root document. > > I understand your point but ServerAlias covers that and you can even make it > more clean with rewrite after Serveralias processes it to the correct root > doc. > > > > > > ----- Original Message ----- > From: "Christopher Leigh" > To: "Tony Landells" ; > Sent: Friday, October 26, 2001 11:42 PM > Subject: Re: *.example.net > > > > yall missed the point... > > > > it wasn't for mis-typing, it was so that they go to a different document > > root... > > > > like blah.example.net goes to /www/hosts/blah, etc. > > > > that's what it's for... > > > > > > ----- Original Message ----- > > From: "Tony Landells" > > To: "Jonathan Fortin" > > Cc: > > Sent: Thursday, April 26, 2001 10:39 PM > > Subject: Re: *.example.net > > > > > > > > > > jfortin@akalink.com said: > > > > The whole point of using wildcard DNS in my regard is if you got a > > > > production website, you would point *.yourdomain.com to the IP > > address > > > > to redirect impotent users to your homepage, then you can rewrite > > the > > > > HTTP_HOST header with mod _rewrite making it seem like they didn't > > > > mistype it which is actually good, but either then that I wouldnt > > see > > > > the use. > > > > > > That's an interesting idea, but I'd submit that if you've followed > > > convention and named your Web site "www.yourdomain.com", then the > > > only thing you're saving them from is mistyping "www", because if > > > they mistype "yourdomain.com" they're not going to get your DNS server > > > anyway. > > > > > > If you haven't followed convention then you're making life difficult > > > for other people anyway, and making "all roads lead to Rome" would > > > seem a contradiction. > > > > > > If you had a good reason for not naming your Web server "www" but want > > > people to find it as "www", then you can put in a separate A record or > > > CNAME record that leads them in the right direction. > > > > > > Cheers, > > > Tony > > > -- > > > Tony Landells > > > Senior Network Engineer Ph: +61 3 9677 9319 > > > Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 > > > Level 4, Rialto North Tower > > > 525 Collins Street > > > Melbourne VIC 3000 > > > Australia > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message