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.
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>
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>