How to set up http://www.example.com and https://secure.example.com

2 posts / 0 new
Last post
#1 Thu, 09/25/2014 - 13:58
malc_b

How to set up http://www.example.com and https://secure.example.com

Hi,

How would I setup to redirect https to a sub-domain/sub-server/alias. I've made a virtual server say example.com, so http://www.example.com. I can create an alias so secure.example.com points to same directory as example.com and www.example.com. And I guess I can turn on SSL so and have a certificate with www. and secure.. Is there anyway to just have SSL on secure.example.com and not enable it for www.example.com?

Thu, 09/25/2014 - 15:15
andreychek

Howdy,

It sounds like your suggestion of using aliases and pointing them all at the same location is a good way to do that.

You could always setup a .htaccess file that rewrites the address if someone attempts to connect via SSL on www.example.com.

-Eric

Topic locked