When logging in via Port 80 on Windows Server+IIS, the page does not transition to the next page.

0
Hello everyone,   I built server-based deployment environment( Windows Server2019 + Service Console 4.8.1 + IIS10). Since  I am not planning to use https at this time, only http is configured.   I have set up the environment following the instructions in the Mendix Docs (https://docs.mendix.com/developerportal/deploy/deploy-mendix-on-microsoft-windows/), but I am having an issue where I am not redirected to the next page after logging in.   The results of the operation test on the server are shown below. 1. Successful login and transition to the next correct page:    -> http:localhost:80/index.html (internal access via IIS) 2. The same login page is displayed after login (account and password are lost):    -> http:192.x.x.x:80/index.html (external access via IIS) The same behavior occurs when accessed from an external client.   Notes, when accessed via port 8080 without going through IIS, access is successful and viewing next pages both on the server and from an external client.   If you know the cause of this situation or how to resolve it, please let me know.   For reference, I've attached the Web.config. Web.config   Best Regards, Takehiko
asked
1 answers
1

Check that IIS ARR is preserving the original Host header, and that Mendix’s Application Root URL isn’t set to localhost.

 

Try one of below two solutions:

1. add <proxy preserveHostHeader="true" /> in web.config or use preserve header using proxy setting. 

2. Update application root in mendix console to "http://192.x.x.x/

 

answered