In our On Premise SharePoint environments we are using https protocol. Because this protocol use certificate so this give us more security but generally user don’t care about protocol. for example user always type xyx.abc.com and hit enter now this is up to the browser because there is port enclosed so browser took default http port 80 but because environment set up on https so port would be 443. :( it not going to work.
So how can we resolve this issue? Suppose we have a xyz.abc.com and our designer put lots of efforts to make it as interne site so user can get all information about organization. But remember our all environment based on SSL so i we don't want taht every time use put full address like https://xyz.abc.com so we decide to redirect out all request that coming using http will be redirect to https.
here we complete out text now hands on :)
This is going to be handle by IIS so we need to work there first.
1. Open IIS manager and create a dummy Application pool for example request redirect App, so case if there is another site need to redirect i can use this.
Right click on application pool and window will prompt fill the desired Name.
2. After this we need to create a dummy site that take out http request and redirect to https
So right click on sites node and select Add site
Now first fill site name . choose name that you can understand vey clearly.
Now click on Select just beside on Default app pool and select our app pool that we created in previous step.
Now we need to select a physical path this path should be in inetpub but out side of wss ,becuase if we create a folder in wss SharePoint will throw permission level error so create out site a folder where IIS will keep it xml files.
After that, don't change type {http} and port 80 because if you change port user have to send request with port and we want to remove his pain :)
now in host name just put the name with out protocol “xyz.abc.com”
Click ok . congratulation you complete good work but still you need to put some changes in this newly created site’s settings.
If now you will try to access this site you will get a forefront protection error. and we also not make entry to redirect on our desired site.
3. select our newly created site from let pane and you will fine these option in middle window
Now we have to take care about two settings only
first get rid of forefront protection error issue
and second redirect to out site
so let take first thing first
FSSP username filter this is fro Microsoft forefront protection for SharePoint.
after that double click http redirect option .
select check box “redirect request to this destination ”. In textbox fill full URL including the https. Leave below checkbox unselected .
Don't forget to apply from right pane.
All is set to work.
Now open your browser and access site by using http protocol.
No comments:
Post a Comment