apache name virtual host - two domains and SSL
- by Tom
I'm trying to setup Apache(2.2.3) to run two websites with SSL using both different domains and IP addresses. Both websites run fine on port 80 but when I tried to enable SSL for website2 I get a ssl_error_bad_cert_domain error; website2 picks up the SSL cert for website1.
Here is my setup in httpd.conf:
# Website1
NameVirtualHost 192.168.10.1:80…