• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 787
  • Last Modified:

how to redirect https to https

Hi,

How do we redirect https://xyz.com to https://www.xyz.com. As I do not want to spend money for buying two SSL's for with www and without www. Please advice.

Regards
Ather
0
Smc_support
Asked:
Smc_support
4 Solutions
 
xDUCKxCommented:
Check out this blog post for one of the many different ways to accomplish a redirect:

http://blog.whitesites.com/How-to-setup-301-Redirects-in-IIS-7-for-good-SEO__634569104292703828_blog.htm
0
 
Darr247Commented:
Couldn't you do that with a wildcard certificate for *.xyz.com ?

https://www.thawte.com/ssl/wildcard-ssl-certificates/index.html
0
 
unfragmentedCommented:
You need both comments from above.

You need the initial redirect (HTTP 301 or 302) to inform the browser to load a new page.
You then need the browser to complete the SSL handshake for the new page (requiring a cert for www.xyz.com).

You have indicated separate certs are not acceptable.  That leaves the wildcard cert as the only solution in my mind.
0
 
b_levittCommented:
I also agree with the above that two certs or a wild card are the only way to do this without getting a certificate warning, but I'll add the question - do you really need this?  It would be extremely rare for the user to bother including the protocol when typing a url, so in my mind it is enough to redirect from http://xyz.com (no ssl).  Let me put it this way - https://amazon.com didn't bother with a second cert, and Microsoft doesn't even answer requests on https://microsoft.com.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now