Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 67574 invoked by uid 500); 5 Mar 2002 01:11:00 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 67542 invoked from network); 5 Mar 2002 01:11:00 -0000 Received: from web14004.mail.yahoo.com (216.136.175.120) by daedalus.apache.org with SMTP; 5 Mar 2002 01:11:00 -0000 Message-ID: <20020305011104.46849.qmail@web14004.mail.yahoo.com> Received: from [129.89.246.118] by web14004.mail.yahoo.com via HTTP; Mon, 04 Mar 2002 17:11:04 PST Date: Mon, 4 Mar 2002 17:11:04 -0800 (PST) From: "E�l" Reply-To: eol1@yahoo.com Subject: Re: using www and non-www address - how to set-up? To: users@httpd.apache.org, jfield@aaaq.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In your vhost options set: ServerName: domain.com ServerAlias: *.domain.com cheers E�l --- Jeff Field wrote: > Problem: > > I want to set up virtual websites all using the same > IP address. I want > people to reach the websites with either domain > address, for example: > > domain.com > www.domain.com > > Question 1: > > Do I need to set up a virtual domain in Apache for > each domain? (I assume I > would just use the same document root for each). > Or, is there a more > elegant solution? > > Also, because an SSL certificate is only good for a > specific domain, instead > of having to purchase two certificates, one for > domain.com and one for > www.domain.com, I thought the better approach is to > have the domain.com > address always change/default to www.domain.com. > Then, I only need to > utilize one SSL certificate. > > IOW, if a person types in domain.com to reach the > website, when they get the > page, the address they got the page from is > www.domain.com. > > Question 2: > > Assuming I've explained well enough what I'm trying > to accomplish (to have > pages always returned from www.domain.com, even > sub-home/index pages), what > is the best way to handle this? > > Thanks, > > Jeff > > > --------------------------------------------------------------------- > The official User-To-User support forum of the > Apache HTTP Server Project. > See for > more info. > To unsubscribe, e-mail: > users-unsubscribe@httpd.apache.org > For additional commands, e-mail: > users-help@httpd.apache.org > ===== Never underestimate the extent of human stupidity. De Opresso Liber __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org