httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasiliy Boulytchev" <vasi...@boulytcheva.com>
Subject Re: using www and non-www address - how to set-up?
Date Tue, 05 Mar 2002 04:59:48 GMT
or through DNS
----- Original Message -----
From: "Eöl" <eol1@yahoo.com>
To: <users@httpd.apache.org>; <jfield@aaaq.com>
Sent: Monday, March 04, 2002 6:11 PM
Subject: Re: using www and non-www address - how to set-up?


> In your vhost options set:
>
> ServerName: domain.com
> ServerAlias: *.domain.com
>
> cheers
>
> Eöl
>
> --- Jeff Field <jfield@aaaq.com> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message