External & Internal URL Virtual Directory Setup Exchange Server 2019

URL Virtual Directory

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.

exchange 2019 virtual directory

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

exchange 2019 external access domain

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.

exchange 2019 configure external access domain

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.

external access domain exchange 2019

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

access domain

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

set ecpvirtualdirectory command

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

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

get ecpvirtualdirectory command

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

exchange 2019 virtual directory

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

virtual directory ecp url exchange 2019

10- Warning message, so click ok.

ecp url virtual directory warning

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

set owavirtualdirectory command

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

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

get owavirtualdirectory command

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

exchange 2019 virtual directory

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

exchange 2019 virtual directory owa

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

set-activesyncvirtualdirectory command

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

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

get-ActiveSyncVirtualDirectory command

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

exchange 2019 virtual directory

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

exchangexchange 2019 virtual directory activesync

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

set oabvirtualdirectory command

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

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

get oabvirtualdirectory command

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

exchange 2019 virtual directory

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

exchange 2019 virtual directory oab

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

set webservicesvirtualdirectory command

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

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

get webservicesvirtualdirectory command

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

exchange 2019 virtual directory

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

exchange 2019 virtual directory ews

27- PowerShell Virtual Directory

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

exchange 2019 virtual directory

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

exchange 2019 virtual directory powershell

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

configure outlook anywhere command

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

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

get outlookanywhere command

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

exchange admin center 2019

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

exchange 2019 virtual directory outlook anywhere

33- Configure the AutoDiscover Virtual Directory.

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

set clientaccessservice command

34- To verify, run the following cmdlet.

Get-ClientAccessService | fl identity,autodiscoverserviceinternaluri

get clientaccessservice command

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

set mapivirtualdirectory command

36- To verify, run the following command.

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

get mapivirtualdirectory command

For more information click here

Comments

48 responses to “External & Internal URL Virtual Directory Setup Exchange Server 2019”

  1. Parbriz MERCEDES G CLASS W463 1993 Avatar
    Parbriz MERCEDES G CLASS W463 1993

    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. Jona Avatar
    Jona

    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. clipart Avatar
    clipart

    As soon as I found this site I went on Reddit
    to share some of the love with them.

  4. clipart Avatar
    clipart

    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.

  5. Alpha Visage Revitalizing Moisturizer Avatar
    Alpha Visage Revitalizing Moisturizer

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

  6. Ubuntu CBD Review Avatar
    Ubuntu CBD Review

    This is a topic that is close to my heart… Thank you!
    Exactly where are your contact details though?

  7. Bitcoin Master System Reviews Avatar
    Bitcoin Master System Reviews

    I am impressed with this website, real I am a fan.

  8. Keto Vibe Reviews Avatar
    Keto Vibe Reviews

    Your method of explaining everything in this article
    is really pleasant, all can simply understand it, Thanks a lot.

  9. RenewVibe CBD Reviews Avatar

    Wonderful article! This is the type of information that are meant to be shared around the internet. Disgrace on the search engines for no longer positioning this put up higher!

  10. Alpha Visage Avatar
    Alpha Visage

    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!

  11. Iron Stack Pro Muscle Avatar
    Iron Stack Pro Muscle

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

  12. Life Choice Keto Price Avatar
    Life Choice Keto Price

    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.

  13. Alpha Visage Cream Reviews Avatar
    Alpha Visage Cream Reviews

    I am impressed with this site, real I am a big fan.

  14. Bedrock Health Keto Avatar
    Bedrock Health Keto

    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!

  15. Horizon Keto Burn Review Avatar
    Horizon Keto Burn Review

    Hi there, I log on to your blog like every week. Your story-telling style is witty, keep it up!

  16. ici Avatar
    ici

    Hi there, just wanted to say, I loved this post. It was funny. Keep on posting!

  17. Enter site Avatar
    Enter site

    This article offers clear idea in support of the new users of
    blogging, that in fact how to do blogging.

  18. Prime Force Keto Avatar
    Prime Force Keto

    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.

  19. [ПЕРЕЙТИ] Avatar
    [ПЕРЕЙТИ]

    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

  20. کلیک کنید Avatar
    کلیک کنید

    Hey very nice blog!

  21. Back Avatar
    Back

    Would love to forever get updated outstanding blog!

  22. hier Avatar
    hier

    I adore meeting useful information, this post has got me even more info!

  23. TestoGO Review Avatar

    Some really nice stuff on this site, I enjoy it.

  24. BrainZMansel Avatar
    BrainZMansel

    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.

  25. pkv terpercaya Avatar
    pkv terpercaya

    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

    1. Jamil Parvez Avatar

      Dear jacelynwray, please share.

  26. Natashia Derden Avatar
    Natashia Derden

    Good article. I certainly appreciate this website. Continue the good work!

  27. engraved silicone wristbands Avatar
    engraved silicone wristbands

    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!

  28. Sebastian Kollmeyer Avatar
    Sebastian Kollmeyer

    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