开发者

mvc3, IIs 7.5, server behind load balancer/firewall, forms authentication redirects to http://[ipaddress of machine]

hundreds of hits for these keywords, but nothing that is totally relevant.

So my web server is behind a load balancer. The web site is exposed by SSL.

When I open my logon page https[mydomain]/app/somepage.aspx, I am redirected to http://[ip address of server]/app/somepage.aspx.

I tried the follwing

  • Setting the loginurl to https[mydomain]/app/somepage.aspx开发者_如何转开发, doesnt work
  • tried fiddling with the binding in iis, but there's an issue that forces us to use appcmd to set the hostname, but nothing works after I set it.

Suggestions?

Thanks


This sounds more like a load balancer configuration error, or maybe your load balance just isn't capable of forwarding the request using the same url. It seems like your load balancer is mroe of a proxy, and is creating a new request using only the IP address. Most decent load balancers should have an option for forwarding the hostname.

This might be more of a Serverfault question because it has more to do with load balancer configuration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜