Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Changing Sharepoint sties from http:// to https://

Posted on 2013-01-16
4
Medium Priority
?
370 Views
Last Modified: 2013-01-24
I have a site that is public facing that I have been asked to make available only through https:// -- I have read a lot of stuff, including posts on this site, but still am missing some pieces I think.  I read some things that say if you touch IIS at all that you're doing it wrong, while some give explicit instructions to use IIS.  

What I have done so far is bound the site to 443 SSL in IIS.  Now if you try and access the site using https:// it is possible, but the links break within the sites if you try and access files.  

Would appreciate some assistance to work through this process.  :)

Thanks!
0
Comment
Question by:PurpleSlade
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 2000 total points
ID: 38783410
If you wish to make https the new Default zone URL, the proper way to do it is to remove SharePoint from the web app and re-extend to it.  This means in Central Admin, you select your web app, click the down arrow on the Delete button in the ribbon, and choose Remove SharePoint from IIS site.  Do NOT delete the database or the IIS site itself, just choose to remove SharePoint from the site.  Then you create a new web application, choosing an Existing IIS site.  This allows you to put a new URL in.  Then apply your SSL cert to the site in IIS.

If you wish to just add the https as a new zone to your existing web application, you can choose your web app and click "Extend" from the ribbon.  This will essentially create a new IIS site that is tied to your web app.  You would then apply your SSL cert to this new site in IIS.


_____________________________________________________________________-
Follow me on Twitter!  @justinsmith317
0
 
LVL 2

Author Comment

by:PurpleSlade
ID: 38784089
Just so I am clear - option #1 the site will only be available in https mode.  option #2 the site will be available either through http or https.

Are there any considerations that need to be given regarding redirects?  If someone has bookmarked a location on the site would it automatically redirect or would something explicitly be needed to make that happen?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 38784132
If you don't care that the site is available over http, then nothing would need to be done as far as redirection with option 2.  

If you go with option one, and you don't want sites available over http, you'll need to create your own redirection.  The best way for IIS 7 is using the URL rewrite add in for IIS.  This add-in would basically put an "s" in all requests.
0
 
LVL 2

Author Comment

by:PurpleSlade
ID: 38784551
This means in Central Admin, you select your web app, click the down arrow on the Delete button in the ribbon, and choose Remove SharePoint from IIS site.  Do NOT delete the database or the IIS site itself, just choose to remove SharePoint from the site.

I performed this action and it looks like something was messed up - how do I add it back?
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question