I have a Web Application. Its AAM is as follows-

Zone         Public URL for Zone

Default      http://sharepoint:46543
Internet     http://abc.something.com
Custom       https://abc.something.com

Before using IIS Rewrite module, if I access the site from any Zone it works fine.

But once I configure Rewrite module as following-

Match URL Section

Requested URL               = Matches the Pattren
Using                       = Regular Expression
Pattren = (.*)


Logical Grouping            = Match All
Condition Input             = {HTTPS}
Check if input string       = Matches the pattren
Pattren                     = ^OFF$


Action Type                  = Redirect
Redirect URL                 = https://{HTTP_HOST}/{R:1}
Append Query String          = True
Redirect Type                = See Other (303)

If I try to access the site on the Web Front Server i.e. using Default Zone http://sharepoint:46543 the website does not open. Even Central Administration stop opening at this time.

If I try to access Internet Zone http://abc.something.com then it gets redirected to Custom Zone https://abc.something.com but it does not open the site. Even if I try to access Custom Zone site by directly entering the URL, it does not open.

What am I doing wrong?


Here is how I solved this-

  1. Removed the IIS Rewrite rules completely.
  2. In AAM, Default Zone http://sharepoint:46543 remain same
  3. Click on Edit Public URLs, enter https://abc.something.com (HTTPS) in Internet and Click Save.
  4. Click on Add Internal URLs and enter http://abc.something.com (only HTTP) and Save.

Source - http://blog.blksthl.com/2012/12/20/a-guide-to-https-and-secure-sockets-layer-in-sharepoint-2013/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.