Aegir 3.0, need to copy and paste website ssl config to ssl.conf in centos 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?

Update

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 &lt;VirtualHost *:443&gt;

If I change it to &lt;VirtualHost 1.2.3.4:443&gt; (i.e. the ip of the server), it works, but why?
If you don't have any apache config for the domain https://example.com then you land in the default vhost.

Add https://example.com as a site in Aegir and it will generate the config for you.