?
Solved

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

Posted on 2013-01-16
4
Medium Priority
?
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

762 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