Creating Multiple OWA Virtual Directories with Same IP on Different Port- Exchange

Hi, in this post we will deal with creating Multiple OWA Virtual Directories. Though this has been discussed on many other blogs our main aim would be to perform the same activity but using the same IP and redirecting the request on a customized port(Here 8443) rather than the default TCP port 443. So here we go:

You'll generally need multiple OWA VD's in scenarios where you have an in-house application also accessing the Exchange mailbox.

IIS Activities
 1. Add DNS entries:
      Create a new A Host record with a new URL for the existing IP.

2. Add NEW Website in IIS
     Open IIS and add a new website-



Exchange Management Shell Activities
Verification of existing VD's
Open EMS and type the cmdlets as below and check the existing VD's

Get-OWAVirtualDirectory
Get-ECPVirtualDirectory 

The result should be as follows:

Adding New Exchange Virtual Directories

  1. New-OWAVirtualDirectory –Name owa –WebSiteName owa –InternalUrl https:/webmail.mydomain.com/owa

  1. New-ECPVirtualDirectory  –WebSiteName mail2 – InternalUrl https://webmail.mydomain.com/ecp

Final Verification:

This Command lets you verify if the VD has been created successfully:

Get-OWAVirtualDirectory | FL Name,*Url,*Authentication,LogonFormat,Defaultdomain

Here, in this section below I will add a personal experience scenario where i had to add the Exchange 2003 URL property to my new VD:

Set Exchange 2003 Url property:
To set Exchange 2003 Url property on Default Website:
Set-OWAVirtualDirectory Exch2010.mydomain.com\OWA* -Exchange2003URL https://mail2.mydomain.com

To set Exchange 2003 Url property on NEW Website:
Set-OWAVirtualDirectory "Exch2010.mydomain.com\OWA (mail2)" -Exchange2003URL https://mail2.mydomain.com/exchange 

Comments

  1. I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. private rdp

    ReplyDelete
  2. No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. dark0de market url

    ReplyDelete
  3. This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. dark0de market link

    ReplyDelete

Post a Comment