Solved

ADFS not behaving as expected through load balancer

Posted on 2013-10-28
2
840 Views
Last Modified: 2013-11-01
We are experiencing a very strange problem with our ADFS Environment.

When we connect to our ADFS Landing Page at https://adfs.mydomain.com and click the “Sign In” Button, something happens to make our workstations query DNS for a server other than adfs.mydomain.com.

This is shown in Fiddler in the highlighted portion at the lower right (shown below) where I see <h2> Object moved to <a href=’https://server-119.mydomain.com/adfs.ls/?SAMLRequest=…

See the fiddler analysis below.

Fiddler Screenshot
      
How all of our 100+ websites behave
      

1.

User enters the URL https://mywebsite.mydomain.com into their web browser to access the one of our websites.

2.

User successfully arrives at the website using that URL.

3.

User signs into the website, or clicks some links to go to other parts of the website.

4.

The code on the websites uses relative paths and the user continues to access the website at http://mywebsite.mydomain.com/pagename1.htm

5.

User clicks more links on the website.

6.

The code on the websites uses relative paths and the user continues to access the website at http://mywebsite.mydomain.com/pagename2.htm

7.

User clicks more links on the website and performs some complex tasks on the website.

8.

The code on the websites uses relative paths and the user continues to access the website at http://mywebsite.mydomain.com/pagename3.htm      
How all 100+ of our websites work
How our ADFS Website Behaves - which is totally different than all our other websites

1.

User enters the URL https://adfs.mydomain.com/adfs/ls/IdpInitiatedSignOn.aspx into their web browser to access the ADFS Landing Page.

2.

User successfully arrives at the ADFS Landing page via that URL.

3.

User clicks the "Click Continue to Sign In Button" on the ADFS Landing Page.

4.

Something, most likely code on that landing page or somewhere else inside the ADFS Server, sends back information to the web browser with the name http://server-119.mydomain.com.

5.

The User's computer then queries DNS for http://server-119.mydomain.com 

6.

The User's web browser then access http://server-119.mydomain.com directly and no longer goes through the load balancer.
How the ADFS Website Does Not Behave Like all the others.
This is my problem.

I have a feeling that ADFS has done something to IIS that is making IIS behave differently when ADFS sits inside of it, when compared to every other IIS website we have.

That’s what I need to get to the bottom of .
0
Comment
Question by:ACECORP
2 Comments
 
LVL 19

Accepted Solution

by:
compdigit44 earned 500 total points
ID: 39610311
Interesting...

In IIS have your check your site binding and redirect settings?

Do you have any external DNS Cname records points to there other server name?
0
 
LVL 5

Author Closing Comment

by:ACECORP
ID: 39617526
I had to rip the environment down and rebuild it. I had to make a lot of changes, to many to list here, but I solved it :)

Thanks for your efforts.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Domain Logon scripts 14 47
IIS Windows Server FTP 5 30
PowerShell: How to output error msg into file but with date? 5 23
Running powershell scripts from ASP.NET 6 25
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

792 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