locked
Creating second site for http to https redirect? RRS feed

  • Question

  • User1263604210 posted

    Following ruslany's suggestion on the URL Rewrite Tips page, I'm trying to use URL Rewrite to redirect http:// requests for my site to https://. I've written and tested the rule, and so now the final piece is to create a second site (http) to redirect to my https site. (I need to use a second site because I don't want to uncheck the "Require SSL encryption" checkbox on my existing site.)

    My question is: how do I do this? Should I create a site with the same name and host header, only it will be bound to http? I don't want to screw anything up with my existing site (which is a SharePoint site, currently used by external users). That site currently has http and https bound to it. So my assumption is that, using ISS (not SharePoint),  I will create a new site (http only) with the same name and host header as my existing site, and add the URL Rewrite rule to the http site. And then I guess I should remove the http binding from my existing site? Does that seem correct?

     Any advice, gotchas, etc., would be appreciated. Thanks.

     

    Monday, June 14, 2010 10:52 AM

Answers

  • User744767459 posted

    Hi,

    I did a test on my local Windows 7, it did works. You can create a new http only site, and remove http binding from your existing site to avoid IP/port conflict.

    Thanks.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, June 16, 2010 6:05 AM

All replies

  • User744767459 posted

    Hi,

    I did a test on my local Windows 7, it did works. You can create a new http only site, and remove http binding from your existing site to avoid IP/port conflict.

    Thanks.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Wednesday, June 16, 2010 6:05 AM
  • User1263604210 posted

    Thank you, I'll give it a try!

    Thursday, June 17, 2010 9:17 AM