Configure Exchange 2016 external URLs

 

Estimated time to complete: 10 to 15 minutes

There are several settings that you need to configure on the Exchange 2016 virtual directories, which include Outlook Anywhere, Exchange ActiveSync, Exchange Web Services, Offline Address Book (OAB), Outlook on the web, the Exchange admin center, and the availability service.

Learn more at Virtual directory management.

  1. Open the EAC by browsing to the URL of your Exchange 2016 Mailbox server. For example, https://Ex2016/ECP.

  2. Enter your user name and password in Domain\user name and Password, and then click Sign in.

  3. Go to Servers > Servers, select the name of the Internet-facing Exchange 2016 Mailbox server, and then click Edit Edit icon.

  4. Click Outlook Anywhere.

  5. In the Specify the external hostname field, specify the externally accessible FQDN of the Mailbox server. For example, mail.contoso.com.

  6. While you’re here, let’s also set the internally accessible FQDN of the Mailbox server. In the Specify the internal hostname field, enter the FQDN you used in the previous step. For example, mail.contoso.com.

  7. Click Save.

  8. Go to Servers > Virtual directories.

  9. In the Select server field, select the Internet-facing Exchange 2016 Mailbox server.

  10. Select the virtual directory you want to change, and then click Edit Edit icon.

  11. In External URL, replace the host name between https:// and the first forward slash (/ ) with the new FQDN you want to use. For example, if you want to change the EWS virtual directory FQDN from Ex2016.corp.contoso.com to mail.contoso.com, change the external URL from https://Ex2016.corp.contoso.com/ews/exchange.asmx to https://mail.contoso.com/ews/exchange.asmx.

    NoteNote:
    You can’t set an external URL on the Autodiscover virtual directory.
    Some organizations make the Outlook on the web FQDN unique to protect users against changes to underlying server FQDN changes. Many organizations use owa.contoso.com for their Outlook on the web FQDN instead of mail.contoso.com. If you want to configure a unique Outlook on the web FQDN, do the following. This checklist assumes you have configured a unique Outlook on the web FQDN.
    The ECP and OWA virtual directory external URLs must be the same.
    1. In Select server, choose your Exchange 2016 Mailbox server.

    2. Select owa (Default Web Site) and click Edit Edit icon.

    3. In External URL, type https://, then the unique Outlook on the web FQDN you want to use, and then append /owa. For example, https://owa.contoso.com/owa.

    4. Click Save.

    5. Select ecp (Default Web Site), and then click Edit Edit icon.

    6. In External URL, type https://, then the same Outlook on the web FQDN that you specified in the previous step, and then append /ecp. For example, https://owa.contoso.com/ecp.

    7. Click Save.

  12. Click Save.

  13. Repeat steps 9, 10 and 11 for each virtual directory you want to change.

To verify that you successfully configured the external URL on the Internet-facing Exchange 2016 Mailbox server virtual directories, do the following:

  1. In the EAC, go to Servers > Virtual directories.

  2. In the Select server field, select the Internet-facing Exchange 2016 Mailbox server.

  3. Select a virtual directory and then, in the virtual directory details pane, verify that the External URL field is populated with the correct FQDN and service as shown below:

     

    Virtual directory External URL value

    Autodiscover

    No external URL displayed

    ECP

    https://owa.contoso.com/ecp

    EWS

    https://mail.contoso.com/EWS/Exchange.asmx

    Mapi

    https://mail.contoso.com/mapi

    Microsoft-Server-ActiveSync

    https://mail.contoso.com/Microsoft-Server-ActiveSync

    OAB

    https://mail.contoso.com/OAB

    OWA

    https://owa.contoso.com/owa

    PowerShell

    http://mail.contoso.com/PowerShell

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server, Exchange Online, or Exchange Online Protection.

 
Show: