Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Port problem in web farm environmentPort problem in web farm environment
Previous
 
Next
New Post
6/14/2006 6:35 AM
 

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!

 

 
New Post
5/23/2008 6:49 AM
 

Hi Kemal,

 

I'm exactly in the same situation bu with version 4.7 of DNN. Have you find a solutions ?

 

Thanks

Denis Corlier

 
New Post
5/23/2008 9:01 AM
 

Have you tried removing the port # from the Portal Alias?  I have not proven this out and I'm not sure if it will work, but it's simple and worth trying.  We have proxies that work like yours, but I would pretty much need to have an act of congress to configure them to test this out.

Or try adding a 2nd portal alias without the port "domainname/mle/dotnetnuke"

Dan

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Port problem in web farm environmentPort problem in web farm environment


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out