HTTPS and HTTP issue on server with SSL
Posted
by
Asghar
on Server Fault
See other posts from Server Fault
or by Asghar
Published on 2013-10-23T15:35:32Z
Indexed on
2013/10/23
15:56 UTC
Read the original article
Hit count: 227
I have a site www.example.com for which i purchased SSL cert and installed.
And it was working fine, I also have a subdomain with app.example.com which was not on SSL.
Both www.example.com and app.example.com are on same IP address.
At later we decided to put SSL only on app.frostbox.com and then i configured SSL with app.frostbox.com and it worked fine,
Now the issue is that Google is indexing my site as https://www.example.com/ and when users hits the web , Invalid security warning is issued and when user allow security issue they are shown my app.example.com contents.
Note: I have my SSL configuration files in /etc/httpd/conf.d/ssl.conf
The contents of the ssl.conf are below.
NOTE: I tried solutions in .httaccess but none of those worked. Like redirecting 301 redirects etc
© Server Fault or respective owner