Exchange 2016: Configure URL for Services

Here we are the final article for this series dedicated to Exchange installation. The purpose of this one is to configure the internal and external URLs to access the Exchange Services, namely:

  • OWA

  • ActiveSync

  • ECP

  • OAB

  • MAPI over HTTP

  • AutoDiscover

Now in my scenario for this lab I’m using  a single-split DNS configuration so I have to create a CNAME record in just one location which will be internal DNS Server for my lab. Of course for production scenarios or when an “external” pointer is needed then the necessary records have to be created in the external DNS servers as well. For my lab I will be using something classic like mail.domainname.com to access services internally and “externally” for my lab. Here we go:

Configure OWA Service

From the Exchange Control Panel page let’s go into Servers > virtual directories and double-click on each one of the components we want to configure starting from OWA service

 

In my case the URL will look to something like https://mail.domalab.com/owa I will use it for both internal and external URLs

 

Configure ActiveSync

 

Configure ECP

 

Configure OAB

 

Configure EWS

 

Configure MAPI over HTTP

We can actually configure this through a single PowerShell command

“Set-MapiVirtualDirectory -Identity “ExchangeServerName\mapi (Default Web Site)” -InternalUrl https://mail.domalab.com/mapi -ExternalUrl https://mail.domalab.com/mapi -IISAuthenticationMethods Negotiate”

To verify the MAPI configuration

“Get-MapiVirtualDirectory -Identity “ExchangeServerName\mapi (Default Web Site)” | select server, internalurl, externalurl”

Configure AutoDiscover

 Let’s use PowerShell again!

“Set-ClientAccessService -Identity ExchangeServerName -AutoDiscoverServiceInternalUri https://autodiscover.domalab.com/Autodiscover/Autodiscover.xml”

To verify the configuration

“Get-ClientAccessService | select AutoDiscoverServiceInternalUri”

 

And we’re done! Now we can use a simpler URL to access the Exchange Services!

Michele Domanico

Passionate about Virtualization, Storage, Data Availability and Software Defined Data Center technologies. The aim of Domalab.com is sharing with the Community the knowledge and experience gained with customers, industry leaders and like minded peers. Always open to constructive feedback and new challenges.

Leave a Reply