SSL issue and redirects from https to http

Posted by Asghar on Pro Webmasters See other posts from Pro Webmasters or by Asghar
Published on 2013-10-23T15:37:14Z Indexed on 2013/10/23 16:10 UTC
Read the original article Hit count: 259

Filed under:
|
|

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.

http://pastebin.com/GCWhpQJq

NOTE: I tried solutions in .httaccess but none of those worked. Like redirecting 301 redirects etc

© Pro Webmasters or respective owner

Related posts about ssl

Related posts about apache2