Jump to content

Virtual Domain redirect from http to https


Garion

Recommended Posts

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?

 

  • 3 weeks later...
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!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.