Hi,

I'm trying to have 2 secure sites using IP-based virtual
hosts. However, when i tried to access the sites using say
https://www.site2.com it returns "Cannot find server or DNS
Error". So i tried using https://site2_IP and it works okey.
This is true for both secure sites. I look at all the logs
but found no errors. So then, what should the DNS entry be?
Below is my http.conf. Thanks.

...........
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

ServerName site1_IP
............

UseCanonicalName On
..............
HostnameLookups Off
................


### Section 3: Virtual Hosts


<IfDefine SSL>

<VirtualHost site2_IP:443>
DocumentRoot "/home/httpd/site2"
ServerName www.site3.com
......................
SSLCertificateFile /etc/ssl/certs/site2.crt
SSLCertificateKeyFile /etc/ssl/private/site2.key
</VirtualHost>

<VirtualHost site3_IP:443>
DocumentRoot "/home/httpd/site2"
ServerName www.site3.com
......................
SSLCertificateFile /etc/ssl/certs/site3.crt
SSLCertificateKeyFile /etc/ssl/private/site3.key
</VirtualHost>

</IfDefine SSL>


Mignonette Viado
BSS/IMMS CDO
Philweb.Com, Inc.
Tel: +6388-233-3683
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to