sharepoint 2016 https

Lecia 1 Reputation point
2022-09-05T11:09:41.667+00:00

I would like to know how I can force http to https in SharePoint 2016. I created an application and on IIS I have port 80 and 443 and https on default zone on alternative access mapping.

My site opens internally with both http and https.

So I don't want to have port 80 at all and I want my site to only open using https only...How can I achieve that?

Microsoft 365 and Office | SharePoint | Development
{count} votes

4 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2022-09-06T09:41:06.997+00:00

    Hi @Lecia ,
    Can you provide a screenshot of the URL you configured under port 80 (as shown in the figure below)?
    238123-image.png

    After my test, you can directly modify the default URL to the https URL you configured, and delete URLs in other locations on the image. Then you can only access your site through https.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Lecia 1 Reputation point
    2022-09-06T09:49:45.63+00:00

    Hi @Xyza Xue_MSFT

    Thanks for the feedback. I only have https on the default. The issue is that, I have port 80 and 443 on iis and I don't want port 80 at all because I want my application to only open on https.

    When I remove port 80 on IIS my application requires anonymous users to login when opening the application externally.


  3. Lecia 1 Reputation point
    2022-09-09T09:09:45.247+00:00

    externally, my site opens with https. Internally, it is opening with both https and http...is there a way of forcing only https internally?.

    and another issue is that, when the site is opened with https, the view and edit properties of the document libraries are disabled on the tool bar. and search is not working on https.


  4. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2022-09-23T01:25:43.76+00:00

    Hi @Lecia
    I'm glad to hear you solve the problem.
    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
    [SharePoint 2016 https]

    Issue Symptom:
    I created an application and on IIS I have port 80 and 443 and https on default zone on alternative access mapping. My site opens internally with both http and https. So I don't want to have port 80 and I want my site to only open using https only.

    Current status:
    Open IIS, Under Sites, find your site, right click it and choose Bindings. Delete the port 80 binding.
    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.