[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VirtualHost and SSL in httpd.conf

From: Jasper [mailto:bsd_(_at_)_mercatortrading_(_dot_)_nl]
> <VirtualHost www.mercatortrading.nl:443>
> <VirtualHost www.profibas.com:443>

> running httpd -uDSSL gives the following warning:
> [Tue Sep 20 20:39:33 2005] [warn] VirtualHost 
> www.mercatortrading.nl:443 
> overlaps with VirtualHost www.profibas.com:443, the first has 
> precedence, perhaps you need a NameVirtualHost directive
> Am i missing the point of virtual hosting?
> Jasper

Not really, but you can't have more than one SSL web site on the same IP
address / port number.

$ dig a www.mercatortrading.nl

; <<>> DiG 9.2.4 <<>> a www.mercatortrading.nl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50405
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;www.mercatortrading.nl.                IN      A

www.mercatortrading.nl. 86245   IN      CNAME   www.profibas.com.
www.profibas.com.       86245   IN      A

If these were on HTTP (port 80) or different IPs you could do it.

You'll find plenty of refs on the Internet for the whys of this, but in
short it doesn't work for SSL.


Visit your host, monkey.org