After installing exchange 2019 we’d like to configure a URL virtual directory is employed by Internet Information Services (IIS) to permit access to an Exchange ActiveSync, Outlook.

URL Virtual Directories

1- Open Exchange admin center.

Left side Select Servers and Select Virtual Directory to configure external access domain select the external access domain settings option.

2- On the configure external access domain click the Add + button.

3- Select the Exchange Exch2K19-1 server(s) you wish to configure external URLs on. Then click Add. Once you’ve got all the specified servers to click on ok.

So, in my Labe, I will just be configuring Exch2K19-1.

4- Enter the domain name you wish to use externally. In my case I want our external users to go to mail.xpertstec.com and click on Save.

5- This may take some time. So, once complete click on close.

6- Configure the ECP Virtual Directory.

Set-EcpVirtualDirectory -Identity “Exch2K19-1\ECP (Default Web Site)” -ExternalUrl https://mail.xpertstec.com/ecp -InternalUrl https://mail.xpertstec.com/ecp

7- To verify the configuration of the ECP virtual directory, run the following command.

Get-EcpVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

8- Exchange Admin Center > select Servers > to select Virtual Directories > select ecp (Default Web Site) and then select the edit button.

9- Type Internal & External URL and click on save.

10- Warning message, so click ok.

11- Configure the OWA Virtual Directory.

Set-OWAVirtualDirectory -identity “Exch2K19-1\owa (Default Web Site)” -InternalURL https://mail.xpertstec.com/owa -ExternalURL https://mail.xpertstec.com/owa

12- To verify the OWA URL, run the following command.

Get-OwaVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

13- Exchange Admin Center > select Servers > select Virtual Directories > select owa (Default Web Site) and then select the edit button.

14- Type Internal & External URL and click on save.

15- Configure the ActiveSync Virtual Directory.

Set-ActiveSyncVirtualDirectory -Identity “Exch2K19-1\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalUrl https://mail.xpertstec.com/Microsoft-Server-ActiveSync -InternalUrl https://mail.xpertstec.com/Microsoft-Server-ActiveSync

16- To verify the active sync configuration, run the following command.

Get-ActiveSyncVirtualDirectory | select server,externalurl,internalurl | fl

17- Exchange Admin Center > select Servers > select Virtual Directories > Select Microsoft Server ActiveSync (Default Web Site) and then select the edit button.

18- Type Internal & External URL and click on save.

19- Configure the OAB Virtual Directory.

Set-OabVirtualDirectory -Identity “Exch2K19-1\OAB (Default Web Site)” -ExternalUrl https://mail.xpertstec.com/OAB -InternalUrl https://mail.xpertstec.com/OAB

20- To verify the OAB virtual directory URL configuration, run the following command.

Get-OabVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

21- Exchange Admin Center > select Servers > select Virtual Directories > select OAB (Default Web Site) and then select the edit button.

22- Type Internal & External URL and click on save.

23- Configure Exchange Web Services (EWS) Virtual Directory.

Set-WebServicesVirtualDirectory -Identity “Exch2K19-1\EWS (Default Web Site)” -ExternalUrl https://mail.xpertstec.com/EWS/Exchange.asmx -InternalUrl

24- To verify the configuration, run the following cmdlet.

Get-WebServicesVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

25- Exchange Admin Center > select Servers > select Virtual Directories > Select EWS (Default Web Site) and then select the edit button.

26- Type Internal & External URL and then click on Save.

27- PowerShell Virtual Directory

Exchange Admin Center > select Servers > select Virtual Directories > select PowerShell (Default Web Site) and then select the edit button.

28- Type Internal & External URL and then click Save.

29- Configure Outlook Anywhere.

Set-OutlookAnywhere -Identity “Exch2K19-1\RPC (Default Web Site)” -ExternalHostname mail.xpertstec.com -InternalHostname mail.xpertstec.com -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -DefaultAuthenticationMethod NTLM

30- To verify Outlook anywhere configuration, run the following command.

Get-OutlookAnywhere | Select Server,ExternalHostname,Internalhostname | fl

31- Exchange Admin Center > select Servers > select Servers > select EXCH2K19-1 and select the edit button.

32- Select Outlook Anywhere Type Internal & External URL and click on save.

33- Configure the AutoDiscover Virtual Directory.

Set-ClientAccessService -Identity Exch2K19-1 -AutodiscoverServiceInternalUri https://autodiscover.xpertstec.com/autodiscover/autodiscover.xml

34- To verify, run the following cmdlet.

Get-ClientAccessService | fl identity,autodiscoverserviceinternaluri

35- Configure the MAPI Virtual Directory.

Set-MapiVirtualDirectory -Identity “Exch2K19-1\mapi (Default Web Site)” -ExternalUrl https://mail.xpertstec.com -InternalUrl https://mail.xpertstec.com/mapi -IISAuthenticationMethods NTLM,Negotiate

36- To verify, run the following command.

Get-MapiVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

For more information click here

Share.

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

48 Comments

  1. Parbriz MERCEDES G CLASS W463 1993 on

    It’s in point of fact a nice and helpful piece of info.
    I’m glad that you simply shared this helpful info with us. Please stay us up to date like this. Thanks for sharing.

  2. Saved as a favorite, I love your web site! Ahaa, its nice dialogue regarding this post at this place at this website,
    I have read all that, so now me also commenting here.

  3. For most recent information you have to pay a visit the
    web and on web I found this web page as a most excellent web site for latest updates.

  4. Alpha Visage Revitalizing Moisturizer on

    I am actually grateful to the holder of this site who has shared this wonderful
    piece of writing at here.

  5. Alpha Visage on

    When someone writes an article he/she maintains the thought
    of a user in his/her mind that how a user can be aware of it.
    So that’s why this article is great. Thanks!

  6. Iron Stack Pro Muscle on

    Greetings! Very useful advice within this article!
    It’s the little changes that make the most significant changes.
    Many thanks for sharing!

  7. Life Choice Keto Price on

    Very good written article. It will be beneficial to anybody who employess it, including yours truly :). Keep up the good work – for sure I will check out more posts.

  8. Bedrock Health Keto on

    Right here is the right web site for anybody who really wants to find out about this topic.
    You know so much its almost tough to argue with you (not that I
    actually would want to?HaHa). You certainly put a new spin on a topic which has been discussed for decades. Excellent stuff, just excellent!

  9. Prime Force Keto on

    Hi there, I discovered your website by means of Google at the same time as searching for a comparable topic, your web site came up, it appears good. I have bookmarked it in my google bookmarks.

  10. [ПЕРЕЙТИ] on

    I think this is among the most vital information for me.
    And I’m glad to read your article. But wanna remark on a few general
    things, The site style is wonderful, the articles are really excellent : D.
    Good job, cheers

  11. BrainZMansel on

    Heya, I am just the very first time here. I found this board
    and that I find It really useful & it helped me out much.
    I hope to provide something back and aid others such as you helped me.

  12. pkv terpercaya on

    Hey there! Would you mind if I share your blog with my zynga group?
    There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Thanks

  13. engraved silicone wristbands on

    This is the right site for everyone who wants to find out about this topic.
    You understand so much its almost hard to argue with you
    (not that I personally will need to?HaHa). You certainly put a
    new spin on a subject which has been discussed for decades.
    Wonderful stuff, just great!

  14. Sebastian Kollmeyer on

    I simply want to mention I’m beginner to blogs and actually savored your web page. Very likely I’m likely to bookmark your blog . You actually come with great well written articles. With thanks for sharing your web page.

Leave A Reply Cancel Reply
Exit mobile version