Hi all!
I'm installed a Windows Server 2012 with Exchange Server 2013 here. So the problem is that our443 input ports are blocked, so I did has I was on my older Exchange 2010 and Server 2011: Created a new Website on IIS listening on port100 SSL with the correct SSL Cert named "Exchange 100". After that I got on the Exchange Managment Shell and created the Owa, ECP and ActiveSync directories like that:
New-OwaVirtualDirectory -WebSiteName "Exchange 100"
New-EcpVirtualDirectory -WebSiteName "Exchange 100"
New-ActiveSyncVirtualDirectory -WebSiteName "Exchange 100"
So ok, this is what I was doing on the later versions. So I would access it externally as:https://servername:100/owa
So I made the same on my new Exchange/Windows Server, and it isnt working. But I found the problem:
The Exchange Server is redirecting the login page to https://servername/owa/logon.aspx?url=https%3a%2f%2fservername%3a100%2fowa&reason=0 and not to :100 one.
Wget output:
wget https://servername:100/owa--2014-07-17 13:47:49-- https://servername:100/owa
Resolvendo servername (servername)... 186.220.128.3
Conectando-se a servername (servername)|186.220.128.3|:100... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Found
Localização: https://servername/owa/auth/logon.aspx?url=https%3a%2f%2fservername%3a100%2fowa&reason=0 [redirecionando]
--2014-07-17 13:47:50-- https://servername/owa/auth/logon.aspx?url=https%3a%2f%2fservername%3a100%2fowa&reason=0
Conectando-se a servername (servername)|186.220.128.3|:443... ^C
So the thing is, if I get that URL ( https://servername/owa/auth/logon.aspx?url=https%3a%2f%2fservername%3a100%2fowa&reason=0 ) changes it to ( https://servername:100/owa/auth/logon.aspx?url=https%3a%2f%2fservername%3a100%2fowa&reason=0 ) and opens it on a browser, it opens the login screen. If I log in, it works perfectly fine, and subsequent access to https://servername:100/owa works fine too. Until I log out. If I log out, I get redirected wrong again.
So basicly, the ONLY thing that is happening wrong is the login page redirection. I Looked everywhere I could, but I didnt find anything for that. Also I tryed to setupExternalURL to https://servername:100/owa, ecp and ActiveSync stuff.
How could I solve this?
Thanks!