Solved

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

Posted on 2013-01-16
4
309 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 500 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now