To complete the following steps, you can either use the Exchange Management Shell or the Exchange Admin Center. We assume a single external hostname (outlook.exblog.be
) is used for all workloads.
In this section we will cover the different tasks involved with configuring different Exchange workloads for external access:
To configure an external URL for the Outlook Web App Virtual Directory, run the following command:
Set-OwavirtualDirectory –Identity "owa (Default WebSite)" -ExternalUrl https://outlook.exblog.be/owa
To make these changes for multiple servers at once, you could pipe the results from the Get-OwaVirtualDirectory
command to the Set-OwaVirtualDirectory
as shown in the following command line:
Get-OwaVirtualDirectory | Set-OwavirtualDirectory –Identity "owa (Default WebSite)" -ExternalUrl https://outlook.exblog.be/owa
Also, if you want to change the OWA Virtual directory for a specific server...