Hi Everyone,
I have been trying to install DNN 3.2.2 version (Windows Authentication is enabled) into a web farm structure for the last couple of days. Until now, I couldn't even connect to home page although in the test environement (which is not web farm structure) everything is working perfectly. I have also enabled web farm support as well.
After doing some trials, I guess I understood what the problem is and let me explain:
In our web farm structure, there are two web servers and files are synchronized between these web server (I mean there is no additional file share server behind these two web server - please see web farm support doc of DNN ) Load Balancer is speaking with these two web server by using port 28201; I mean You hit load balancer with port 80 (which is natural) and It forwards these request to web server with port 28201 and listens their response from port 28201 again, and then forward actual response to the client with port 80. So While you are sending your requests with classic port, web servers catching them with port 28201.
Because of this, my Portal Alias in the database is: "domainname:28201/mle/Dotnetnuke", otherwise I am going into an indefinite loop because of the nature of the DNN (redirections in URLRewriteModule and AuthenticationModule)
The problem is, when I hit the default.aspx and after the redirection for the wondows authentication, somehow the round trip arising form Response.Redirect is hitting load balancer with port 28201 and since load balancer only accepts port 80 from clients, I am getting a page can not be displayed error!
I made another small application which contains three pages and first page is redirecting to second one, and the second one is redirecting the third one; although redirection scenario is same, this is working perfectly as our other applications in the this web farm structure!?
So what do you think? Anly help will be really apreciated.
I am also pasting some logs here whic has been created into database with a db log utility created by me:
Application Start
---------------------------------------------------------------------------------------
UrlRewriteModule - OnBeginRequest
Request.Url.AbsolutePath = /mle/dotnetnuke/default.aspx
Request.Url.Port = 28201
Request.Url.AbsoluteUri = http://domainname:28201/mle/dotnetnuke/default.aspx
TabId = -1
PortalId = -1
DomainName = domainname:28201/mle/dotnetnuke
GetPortalAliasInfo(domainname:28201/mle/dotnetnuke)
objPortalAliasInfo.HTTPAlias = domainname:28201/mle/dotnetnuke
app.Context.Items.Add('PortalSettings', _portalSettings)
AuthenticationModule - OnAuthenticateRequest
Response.Redirect(url) --> /mle/DotNetNuke/Admin/Security/WindowsSignin.aspx?tabid=36
.... and here I am getting page can not be displayed error since this page (above) cannot be found!