Hi,
If the domain name is changed, please check the email address policy for all domain users. If all users are using the new domain, the old domain would never be used and all DNS records have been changed to new domain, we can run the following commands to
change the URLs:
Set-ClientAccessServer -Identity CAS2013 -AutodiscoverServiceInternalUri https://exchange2013.newcompanyname.be/autodiscover/autodiscover.xml
Set-WebServicesVirtualDirectory -Identity "CAS2013\EWS (Default Web Site)" -InternalUrl https://exchange2013.newcompanyname.be/ews/exchange.asmx -ExternalUrl https://activesync.newcompanyname.be/ews/exchange.asmx
Set-OABVirtualDirectory -Identity "CAS2013\oab (Default Web Site)" -InternalUrl https://exchange2013.newcompanyname.be/oab -ExternalUrl https://activesync.newcompanyname.be/oab
Set-OwaVirtualDirectory -Identity "CAS2013\OWA (Default Web Site)" -ExternalUrl https://activesync.newcompanyname.be/owa
-InternalUrl https://exchange2013.newcompanyname.be/owa
Set-EcpVirtualDirectory -Identity "CAS2013\ecp (Default Web Site)" -ExternalUrl https://activesync.newcompanyname.be/ecp
-InternalUrl https://exchange2013.newcompanyname.be/ecp
Set-ActiveSyncVirtualDirectory -Identity CAS2013\Microsoft-Server-ActiveSync (Default Web Site) -ExternalUrl https://activesync.newcompanyname.be/Microsoft-Server-ActiveSync
-InternalUrl https://exchange2013.newcompanyname.be/Microsoft-Server-ActiveSync
Additionally, please create a new trusted certificate with the following namespaces:
activesync.newcompanyname.beautodiscover.newcompanyname.beExchange2013.newcompanyname.be
Assign the certificate with IIS service.
Regards,