Garion Posted January 28, 2009 Share Posted January 28, 2009 Hi i was wondering if anyone could help me, I am working on a server that has multiple virtual domains, one main one, others mostly for testing. I need to change one of the test sites so that it will go to its own https connection instead of going to the main one. For example http://www.site.com (main site), after clicking checkout it goes to https://www.site.com, now i have a test site http://test.site.com, and i want it to go to https://test.site.com but instead it goes to https://www.site.com Obviously the links points to the right place, and I've created a test.site.com-ssl file in sites enabled, but it still goes to the wrong place. Does anyone know of something else that i need to do or can try? I'm very new to this so i am sorry if i didn't explain the problem very well. Also if this problem was solved somewhere else, can someone just point me to that? Quote Link to comment https://forums.phpfreaks.com/topic/142788-virtual-domain-redirect-from-http-to-https/ Share on other sites More sharing options...
angelcool Posted February 16, 2009 Share Posted February 16, 2009 I am working on a server that has multiple virtual domains Did you mean Apache Virtual Hosts (http://httpd.apache.org/docs/2.2/vhosts/) or DNS domain names? If you meant DNS domain names you will have to edit you DNS records, either a CNAME or an A Record. If you meant Apache Virtual Hosts, they will have to be IP-based do to the nature of SSL/TLS (https). Hope this helps a bit. Cheers!! Quote Link to comment https://forums.phpfreaks.com/topic/142788-virtual-domain-redirect-from-http-to-https/#findComment-763281 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.