I just upgraded to aegir 3.0. If I enable SSL on a site.com only, and if I hit https://example.com. I will be redirected to https://localhost.com (i.e. documentRoot /var/www/html, the default server host)
In order for https://example.com (with https) to work, I need to copy virtualhost config of site.com to /etc/httpd/conf.d/ssl.conf in Centos 6. That is not ideal, because the site virtualhost config is generated by aegir.
Is it a way to do it without copying virtualhost config to /etc/httpd/conf.d/ssl.conf?
I did create a band new site (https://example.com) in Aegir. The virtual host configuraiton in
/var/aegir/config/server_master/apache/vhost.d/example.com, contains a line like this
If I change it to
<VirtualHost 126.96.36.199:443> (i.e. the ip of the server), it works, but why?