problems with virtual host 443

Hello I have my document root set to DocumentRoot /home/secure and
servername secure.servername.com for my virtual host. I have another
virtual host <VirtualHost _default_:443>
using servername secure.servername.com. I would like to change the
servername to www.servername.com instead of secure.servername.com and
keep my document root different for http and https, is there a way to
do using a single ip? I tried to change the server name to www.servername.com
and the server failed to start. Thanks.
joe [ Di, 30 Oktober 2007 20:59 ] [ ID #1857801 ]

Re: problems with virtual host 443

joe wrote:

> Hello I have my document root set to DocumentRoot /home/secure and
> servername secure.servername.com for my virtual host. I have another
> virtual host <VirtualHost _default_:443>
> using servername secure.servername.com. I would like to change the
> servername to www.servername.com instead of secure.servername.com and
> keep my document root different for http and https, is there a way to
> do using a single ip? I tried to change the server name to
> www.servername.com and the server failed to start. Thanks.

First question: Does www.servername.com exist in DNS?
--
Kurt M. Weber
<kmw [at] armory.com>
Kurt Weber [ Di, 30 Oktober 2007 21:59 ] [ ID #1857806 ]

Re: problems with virtual host 443

thanks Kurt, Yes it exists on dns. The problem seems to be that I am
using the same server for port 80 and 443 but the document root is not
the same. Not sure if I can achieve the same in a different way.
On Oct 30, 4:59 pm, "Kurt M. Weber" <k... [at] armory.com> wrote:
> joe wrote:
> > Hello I have my document root set to DocumentRoot /home/secure and
> > servername secure.servername.com for my virtual host. I have another
> > virtual host <VirtualHost _default_:443>
> > using servername secure.servername.com. I would like to change the
> > servername towww.servername.cominstead of secure.servername.com and
> > keep my document root different for http and https, is there a way to
> > do using a single ip? I tried to change the server name to
> >www.servername.comand the server failed to start. Thanks.
>
> First question: Doeswww.servername.comexist in DNS?
> --
> Kurt M. Weber
> <k... [at] armory.com>
joe [ Mi, 31 Oktober 2007 14:31 ] [ ID #1858658 ]
Webserver » alt.apache.configuration » problems with virtual host 443

Vorheriges Thema: Apache - Active Directory - Singel Sign On
Nächstes Thema: Apache and OpenSSL Configuration Question