I've been trying to set up my own apache server for my website sammurphey.net Everythings been running smoothly up until SSL.
I have the following virtual hosts in my httpd.conf
<VirtualHost *:80> ServerName sammurphey.net:80 ServerAlias www.sammurphey.net DocumentRoot /srv/http/sam.../ </VirtualHost> <VirtualHost *:443> ServerName sammurphey.net:443 ServerAlias www.sammurphey.net DocumentRoot /srv/http/sam.../ </VirtualHost>
and I've linked up the keys in my httpd-ssl.conf
SSLEngine on SSLCertificateFile "/etc/httpd/.../server.cer" SSLPrivateKey "/etc/httpd/.../server.key" SSLCertificateChainFile "/etc/httpd/.../intermediate.cer"
When i try to enable the httpd-ssl.conf file by uncommenting it's line in httpd.conf the whole thing fails. Nothing will serve. Commenting it back out leaves HTTP working of course, but HTTPS get's weird..
*:80 displaying as expected
*:443 ignoring /srv/http entirely and seems to be serving a copy that somehow still exists on my old shared host? I guess? This old version of the site does not exist on my server's HD.. I'm really at a loss as to what's happening here.