Forum Discussion

Elecrc's avatar
Elecrc
Copper Contributor
Aug 03, 2021

prevent exchange redirection

Hi

 

I had a working website on my domain.  After installing exchange everything is is redirected to OWA. How can I disable the redirection and use /website/owa and restore my default website?

 

Thanks

 

1 Reply

  • Elecrc's avatar
    Elecrc
    Copper Contributor


    The solution seems to be to surrender the default website to Exchange and add a new one. I moved the website content there no problem.


    Getting the redirects disabled was difficult.

    Added these:


    appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/ecp" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/powershell" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost

    appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost


    And still redirects. In the new website I removed the 2 exchange modules (one is a redirect module). New website working.

    Regards

Resources