Configuring Multiple OWA/ECP Virtual Directories on the Exchange 2013 Client Access Server Role

Published Feb 11 2015 06:00 AM 102K Views

 

6/17/2019 - We have some updated info relevant to this blog post - https://gorovian.000webhostapp.com/?exam=t5/Exchange-Team-Blog/Monitoring-Exchange-using-Multiple-OWA-ECP...

 

We have previously published guidance for setting up multiple OWA and ECP virtual directories for Exchange Server 2007 and 2010, and now it is the turn of Exchange Server 2013.

The eagle eyed amongst you may spot some copy and paste from previous blogs on the subject, and well frankly, you’d be correct. The reasons for doing this haven’t changed, only the method by which you do it, so I’m re-using some of the text to avoid wasting electrons.

In short: Microsoft supports using multiple Outlook Web App (OWA) and Exchange Control Panel/Admin Center (ECP) front end virtual directories on a server with the Exchange 2013 Client Access Server role, when each is in its own website and is named ‘OWA’ and ‘ECP’.  Each virtual directory must be listening on the standard TCP 443 port for the site.

Note: You must ensure that the Default Web Site is set to All Unassigned for IP, or problems will occur with PowerShell.

There are usually three reasons for choosing this type of configuration. Each of these has slightly different considerations. Here’s what we said for Exchange 2010:

  • Scenario 1: You have one Active Directory site facing the Internet, and are using a reverse proxy (such as Microsoft Forefront Threat Management Gateway or Unified Access Gateway) in front of Exchange.
    You are delegating credentials from that firewall to Exchange, meaning you have to use Basic or Integrated Windows Authentication (IWA) on Client Access Server (CAS) and not Forms-based Authentication (FBA). Your requirement is to provide FBA for all users, internal and external.
  • Scenario 2: You have a non-Internet facing Active Directory site and your requirement is to provide FBA for all users, internal and external. In this configuration, in order to provide external users access to OWA or ECP, a CAS in the Internet facing site must proxy requests to the CAS in the non-Internet facing site – this requires the CAS in the non-internet facing site have IWA enabled, thereby disabling FBA.
  • Scenario 3: You have different users within one organization who require a different OWA experience, such as a different Public/Private File Access or other policy or segmentation features. (This might be a good place to remind you that customizing and branding OWA isn’t something we support in Exchange 2013, so this is NOT a reason you want to consider this type of configuration in case you were wondering)

Now things are actually a bit different with Exchange 2013. I’m calling this out in case you didn’t actually know. You can achieve scenario’s 1 and 2 out of the box with no additional configuration, specifically, no need for an additional web site. Yes, really.

Exchange 2013 ships with Integrated Windows auth enabled on the OWA and ECP virtual directories as well as Forms based auth. So, if you choose NTLM delegation, or KCD, from TMG/UAG to Exchange, it just works. And because OWA is smart enough to determine the machine connecting to it is a browser and not another Exchange Server, the second scenario just works out of the box too. Clients get FBA, but proxy still works. Genius.

With Exchange 2013 there’s one new reason to add to the list, separation of the client facing ECP settings pages, and the Exchange Administration Console (EAC) settings pages. Both of these are served by the ECP virtual directory, which is somewhat confusing I’ll admit. Basically the code behind the ECP virtual directory serves up either the personal ECP pages or the administrators EAC pages based upon on the credentials of the user logging in. Of course this means if you allow access to /ECP from the Internet (which you need to for OWA or Outlook users to go to ECP) you also allow someone with administrative credentials to log into EAC. Some customers don’t like this.

So to summarize, the only reasons for which you might feel the need to create multiple OWA and ECP virtual directories:

  1. Separating admin/user ECP access.
  2. Or scenario number 3 as described earlier, because you have different policies or settings, or authentication requirements.

Now that’s clear, here’s some more statements, warnings and caveats.

Microsoft supports creating additional OWA/ECP virtual directories in a new IIS Web Site with a new IP address, and using those only for client access purposes. By default that new virtual directories will be FBA enabled, and have no internal or external URL values.

You will also need to ensure that whatever name the users will be using to connect to the new FBA enabled OWA/ECP site is present on the installed certificate and that DNS for that name resolves to the correct IP address.

Additional considerations:

  • To avoid issues with DNS registration, the following Hotfix is recommended, if Exchange is installed on Windows 2008 R2
    http://support.microsoft.com/default.aspx?scid=kb;en-US;2386184
  • If one site uses too many resources and it is throttled, the operations in all web sites in this application pool will be throttled.
  • If you ever decide to recycle the Application Pool, all web sites hosted in this Application Pool will cease to work temporarily.

So now you understand the scenarios properly, and understand the constraints and potential issues, there’s just the actual steps you need to use to go through.

Ok, just remembered, there’s one more warning. Only the following set of steps are supported. If you decide to miss a few steps out, change a few to suit yourself, or anyway otherwise generally ignore these and go your own way, you will not be supported. And, just as likely and more importantly, you will break something and your users will be angry, and so will your boss. So just follow the steps, and don’t cross the streams.

Here are the steps, at last.

This process assumes you are setting the default web site to use Integrated Windows auth only, and the new Virtual Directory will be configured for FBA, because that’s supported. You can leave default web site configured for FBA too, by not doing anything to it, but I’m documenting the steps for turning that off, just in case that’s your choice.

  1. Add a secondary IP address to the server– this could be with another NIC, or done just by adding an IP to an existing NIC.
  2. If you added a NIC, in the network properties, uncheck 'register this connection in DNS' in IPv4 for the NIC (this also prevents IPv6 from registering too as it happens).
  3. Create the additional website in IIS in a new root folder (C:\inetpub\OWA_SECONDARY) and bind it to the new IP. Enable for SSL, choose whatever certificate you want to use for this site.

    owa1

  4. Give the local IIS_IUSRS group Read and Execute permission to the C:\inetpub\OWA_SECONDARY folder.
  5. Copy the Default Web Site root folder contents in its entirety including any subfolders to the new site root folder (i.e. copy %SystemDrive%\inetpub\wwwroot\ contents to C:\inetpub\OWA_SECONDARY).
  6. Create new OWA and ECP subfolders in your new web site’s root folder (C:\inetpub\OWA_SECONDARY\OWA, C:\inetpub\OWA_SECONDARY\ECP).
  7. Copy the entire contents of the Default Web Site OWA and ECP folders including any subfolders to the new subfolders for new web site. (Copied from /…/FrontEnd/HttpProxy).
  8. Run the following (substituting <Server> for the server hosting the CAS role);
    1. New-OwaVirtualDirectory -Server <Server> -Role ClientAccess -WebSiteName OWA_SECONDARY -Path "C:\inetpub\OWA_SECONDARY\OWA"
    2. New-EcpVirtualDirectory -Server <Server> -Role ClientAccess -WebSiteName OWA_SECONDARY -Path "C:\inetpub\OWA_SECONDARY\ECP"

      owa2

  9. Run the following to set the default site to IWA only (this is optional, but provided in case you want to do this);
    1. Set-OwaVirtualDirectory -Identity "<server>\owa (Default Web Site)" -FormsAuthentication $false -WindowsAuthentication $true
    2. Set-EcpVirtualDirectory -Identity "<server>\ecp (Default Web Site)" -FormsAuthentication $false -WindowsAuthentication $true
  10. Perform an IISReset.
  11. Test! Really, make sure you do.

The final thing to understand is what you need to do when you apply a Cumulative Update (CU) to any server you have made these changes to. The CU install will NOT properly update the files in the secondary OWA or ECP web site for you, nor will the secondary site work correctly. It’s not just a resource folder/file version issue and just updating the files in directory is not going to do it, there’s more to it.

The only supported solution here is to delete the secondary Vdirs and Web Site and re-do all the steps. So, make sure you have noted any non-default settings you had on the site, then delete the Vdirs, delete the web site (don’t forget to do this), delete any content in the folders, and start again at step 3 in the list above. Re-create the web site, re-create the Vdirs, copy the latest files and re-apply any custom configuration or settings you previously applied. Don’t skip any steps or take any shortcuts. Script it (you can even script the deletion/creation of a web site), run that script after you install the CU, and ensure you do this after each and every CU.

Once you have done that you should be good to go.

We hope this helps you understand the configuration a bit better now should you choose to go down this route and please post back if you have any questions or comments.

Greg Taylor
Principal PM Manager
Office 365 Customer Experience

14 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-611217%22%20slang%3D%22en-US%22%3EConfiguring%20Multiple%20OWA%2FECP%20Virtual%20Directories%20on%20the%20Exchange%202013%20Client%20Access%20Server%20Role%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-611217%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3EWe%20have%20previously%20published%20guidance%20for%20setting%20up%20multiple%20OWA%20and%20ECP%20virtual%20directories%20for%20Exchange%20Server%202007%20and%202010%2C%20and%20now%20it%20is%20the%20turn%20of%20Exchange%20Server%202013.%3C%2FP%3E%20%3CP%3EThe%20eagle%20eyed%20amongst%20you%20may%20spot%20some%20copy%20and%20paste%20from%20previous%20blogs%20on%20the%20subject%2C%20and%20well%20frankly%2C%20you%E2%80%99d%20be%20correct.%20The%20reasons%20for%20doing%20this%20haven%E2%80%99t%20changed%2C%20only%20the%20method%20by%20which%20you%20do%20it%2C%20so%20I%E2%80%99m%20re-using%20some%20of%20the%20text%20to%20avoid%20wasting%20electrons.%3C%2FP%3E%20%3CP%3EIn%20short%3A%20Microsoft%20supports%20using%20multiple%20Outlook%20Web%20App%20(OWA)%20and%20Exchange%20Control%20Panel%2FAdmin%20Center%20(ECP)%20front%20end%20virtual%20directories%20on%20a%20server%20with%20the%20Exchange%202013%20Client%20Access%20Server%20role%2C%20%3CB%3Ewhen%3C%2FB%3E%20%3CB%3Eeach%20is%20in%20its%20own%20website%20%3C%2FB%3Eand%3CB%3E%20is%20named%20%E2%80%98OWA%E2%80%99%20and%20%E2%80%98ECP%E2%80%99%3C%2FB%3E.%26nbsp%3B%20Each%20virtual%20directory%20must%20be%20listening%20on%20the%20standard%20TCP%20443%20port%20for%20the%20site.%3C%2FP%3E%20%3CP%20class%3D%22note%22%3E%3CB%3ENote%3C%2FB%3E%3A%20You%20must%20ensure%20that%20the%20Default%20Web%20Site%20is%20set%20to%20All%20Unassigned%20for%20IP%2C%20or%20problems%20will%20occur%20with%20PowerShell.%3C%2FP%3E%20%3CP%3EThere%20are%20usually%20three%20reasons%20for%20choosing%20this%20type%20of%20configuration.%20Each%20of%20these%20has%20slightly%20different%20considerations.%20Here%E2%80%99s%20what%20we%20said%20%3CB%3Efor%20Exchange%202010%3C%2FB%3E%3A%3C%2FP%3E%20%3CUL%20class%3D%22arrowlist%22%3E%20%3CLI%3EScenario%201%3A%20You%20have%20one%20Active%20Directory%20site%20facing%20the%20Internet%2C%20and%20are%20using%20a%20reverse%20proxy%20(such%20as%20Microsoft%20Forefront%20Threat%20Management%20Gateway%20or%20Unified%20Access%20Gateway)%20in%20front%20of%20Exchange.%20%3CBR%20%2F%3EYou%20are%20delegating%20credentials%20from%20that%20firewall%20to%20Exchange%2C%20meaning%20you%20have%20to%20use%20Basic%20or%20Integrated%20Windows%20Authentication%20(IWA)%20on%20Client%20Access%20Server%20(CAS)%20and%20not%20Forms-based%20Authentication%20(FBA).%20Your%20requirement%20is%20to%20provide%20FBA%20for%20all%20users%2C%20internal%20and%20external.%3C%2FLI%3E%3CLI%3EScenario%202%3A%20You%20have%20a%20non-Internet%20facing%20Active%20Directory%20site%20and%20your%20requirement%20is%20to%20provide%20FBA%20for%20all%20users%2C%20internal%20and%20external.%20In%20this%20configuration%2C%20in%20order%20to%20provide%20external%20users%20access%20to%20OWA%20or%20ECP%2C%20a%20CAS%20in%20the%20Internet%20facing%20site%20must%20proxy%20requests%20to%20the%20CAS%20in%20the%20non-Internet%20facing%20site%20%E2%80%93%20this%20requires%20the%20CAS%20in%20the%20non-internet%20facing%20site%20have%20IWA%20enabled%2C%20thereby%20disabling%20FBA.%3C%2FLI%3E%3CLI%3EScenario%203%3A%20You%20have%20different%20users%20within%20one%20organization%20who%20require%20a%20different%20OWA%20experience%2C%20such%20as%20a%20different%20Public%2FPrivate%20File%20Access%20or%20other%20policy%20or%20segmentation%20features.%20(This%20might%20be%20a%20good%20place%20to%20remind%20you%20that%20customizing%20and%20branding%20OWA%20isn%E2%80%99t%20something%20we%20support%20in%20Exchange%202013%2C%20so%20this%20is%20NOT%20a%20reason%20you%20want%20to%20consider%20this%20type%20of%20configuration%20in%20case%20you%20were%20wondering)%3C%2FLI%3E%3C%2FUL%3E%20%3CP%3ENow%20things%20are%20actually%20a%20bit%20different%20with%20Exchange%202013.%20I%E2%80%99m%20calling%20this%20out%20in%20case%20you%20didn%E2%80%99t%20actually%20know.%20%3CSPAN%20class%3D%22lightyellow%22%3EYou%20can%20achieve%20scenario%E2%80%99s%201%20and%202%20out%20of%20the%20box%20with%20no%20additional%20configuration%2C%20specifically%2C%20no%20need%20for%20an%20additional%20web%20site.%3C%2FSPAN%3E%20Yes%2C%20really.%3C%2FP%3E%20%3CP%3EExchange%202013%20ships%20with%20Integrated%20Windows%20auth%20enabled%20on%20the%20OWA%20and%20ECP%20virtual%20directories%20as%20well%20as%20Forms%20based%20auth.%20So%2C%20if%20you%20choose%20NTLM%20delegation%2C%20or%20KCD%2C%20from%20TMG%2FUAG%20to%20Exchange%2C%20it%20just%20works.%20And%20because%20OWA%20is%20smart%20enough%20to%20determine%20the%20machine%20connecting%20to%20it%20is%20a%20browser%20and%20not%20another%20Exchange%20Server%2C%20the%20second%20scenario%20just%20works%20out%20of%20the%20box%20too.%20Clients%20get%20FBA%2C%20but%20proxy%20still%20works.%20Genius.%3C%2FP%3E%20%3CP%3E%3CSPAN%20class%3D%22lightyellow%22%3EWith%20Exchange%202013%20there%E2%80%99s%20one%20new%20reason%20to%20add%20to%20the%20list%2C%20separation%20of%20the%20client%20facing%20ECP%20settings%20pages%2C%20and%20the%20Exchange%20Administration%20Console%20(EAC)%20settings%20pages.%3C%2FSPAN%3E%20Both%20of%20these%20are%20served%20by%20the%20ECP%20virtual%20directory%2C%20which%20is%20somewhat%20confusing%20I%E2%80%99ll%20admit.%20Basically%20the%20code%20behind%20the%20ECP%20virtual%20directory%20serves%20up%20either%20the%20personal%20ECP%20pages%20or%20the%20administrators%20EAC%20pages%20based%20upon%20on%20the%20credentials%20of%20the%20user%20logging%20in.%20Of%20course%20this%20means%20if%20you%20allow%20access%20to%20%2FECP%20from%20the%20Internet%20(which%20you%20need%20to%20for%20OWA%20or%20Outlook%20users%20to%20go%20to%20ECP)%20you%20also%20allow%20someone%20with%20administrative%20credentials%20to%20log%20into%20EAC.%20Some%20customers%20don%E2%80%99t%20like%20this.%3C%2FP%3E%20%3CP%3ESo%20to%20summarize%2C%20the%20only%20reasons%20for%20which%20you%20might%20feel%20the%20need%20to%20create%20multiple%20OWA%20and%20ECP%20virtual%20directories%3A%3C%2FP%3E%20%3COL%3E%20%3CLI%3ESeparating%20admin%2Fuser%20ECP%20access.%3C%2FLI%3E%3CLI%3EOr%20scenario%20number%203%20as%20described%20earlier%2C%20because%20you%20have%20different%20policies%20or%20settings%2C%20or%20authentication%20requirements.%3C%2FLI%3E%3C%2FOL%3E%20%3CP%3ENow%20that%E2%80%99s%20clear%2C%20here%E2%80%99s%20some%20more%20statements%2C%20warnings%20and%20caveats.%3C%2FP%3E%20%3CP%3EMicrosoft%20supports%20creating%20additional%20OWA%2FECP%20virtual%20directories%20in%20a%20%3CB%3Enew%3C%2FB%3E%20IIS%20Web%20Site%20with%20a%20new%20IP%20address%2C%20and%20using%20those%20only%20for%20client%20access%20purposes.%20By%20default%20that%20new%20virtual%20directories%20will%20be%20FBA%20enabled%2C%20and%20have%20no%20internal%20or%20external%20URL%20values.%3C%2FP%3E%20%3CP%3E%3CB%3EYou%20will%20also%20need%20to%20ensure%20that%20whatever%20name%20the%20users%20will%20be%20using%20to%20connect%20to%20the%20new%20FBA%20enabled%20OWA%2FECP%20site%20is%20present%20on%20the%20installed%20certificate%20and%20that%20DNS%20for%20that%20name%20resolves%20to%20the%20correct%20IP%20address.%20%3C%2FB%3E%3C%2FP%3E%20%3CP%3EAdditional%20considerations%3A%3C%2FP%3E%20%3CUL%3E%20%3CLI%3ETo%20avoid%20issues%20with%20DNS%20registration%2C%20the%20following%20Hotfix%20is%20recommended%2C%20if%20Exchange%20is%20installed%20on%20Windows%202008%20R2%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2Fsupport.microsoft.com%2Fdefault.aspx%3Fscid%3Dkb%3Ben-US%3B2386184%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fsupport.microsoft.com%2Fdefault.aspx%3Fscid%3Dkb%3Ben-US%3B2386184%3C%2FA%3E%3C%2FLI%3E%3CLI%3EIf%20one%20site%20uses%20too%20many%20resources%20and%20it%20is%20throttled%2C%20the%20operations%20in%20all%20web%20sites%20in%20this%20application%20pool%20will%20be%20throttled.%3C%2FLI%3E%3CLI%3EIf%20you%20ever%20decide%20to%20recycle%20the%20Application%20Pool%2C%20all%20web%20sites%20hosted%20in%20this%20Application%20Pool%20will%20cease%20to%20work%20temporarily.%3C%2FLI%3E%3C%2FUL%3E%20%3CP%3ESo%20now%20you%20understand%20the%20scenarios%20properly%2C%20and%20understand%20the%20constraints%20and%20potential%20issues%2C%20there%E2%80%99s%20just%20the%20actual%20steps%20you%20need%20to%20use%20to%20go%20through.%3C%2FP%3E%20%3CP%20class%3D%22note%22%3EOk%2C%20just%20remembered%2C%20there%E2%80%99s%20one%20more%20warning.%20%3CB%3EOnly%20the%20following%20set%20of%20steps%20are%20supported%3C%2FB%3E.%20If%20you%20decide%20to%20miss%20a%20few%20steps%20out%2C%20change%20a%20few%20to%20suit%20yourself%2C%20or%20anyway%20otherwise%20generally%20ignore%20these%20and%20go%20your%20own%20way%2C%20you%20will%20not%20be%20supported.%20And%2C%20just%20as%20likely%20and%20more%20importantly%2C%20you%20will%20break%20something%20and%20your%20users%20will%20be%20angry%2C%20and%20so%20will%20your%20boss.%20So%20just%20follow%20the%20steps%2C%20and%20don%E2%80%99t%20cross%20the%20streams.%3C%2FP%3E%20%3CP%3EHere%20are%20the%20steps%2C%20at%20last.%3C%2FP%3E%20%3CP%3EThis%20process%20assumes%20you%20are%20setting%20the%20default%20web%20site%20to%20use%20Integrated%20Windows%20auth%20only%2C%20and%20the%20new%20Virtual%20Directory%20will%20be%20configured%20for%20FBA%2C%20because%20that%E2%80%99s%20supported.%20You%20can%20leave%20default%20web%20site%20configured%20for%20FBA%20too%2C%20by%20not%20doing%20anything%20to%20it%2C%20but%20I%E2%80%99m%20documenting%20the%20steps%20for%20turning%20that%20off%2C%20just%20in%20case%20that%E2%80%99s%20your%20choice.%3C%2FP%3E%20%3COL%3E%20%3CLI%3EAdd%20a%20secondary%20IP%20address%20to%20the%20server%E2%80%93%20this%20could%20be%20with%20another%20NIC%2C%20or%20done%20just%20by%20adding%20an%20IP%20to%20an%20existing%20NIC.%3C%2FLI%3E%3CLI%3EIf%20you%20added%20a%20NIC%2C%20in%20the%20network%20properties%2C%20uncheck%20'register%20this%20connection%20in%20DNS'%20in%20IPv4%20for%20the%20NIC%20(this%20also%20prevents%20IPv6%20from%20registering%20too%20as%20it%20happens).%3C%2FLI%3E%3CLI%3ECreate%20the%20additional%20website%20in%20IIS%20in%20a%20new%20root%20folder%20(%3CSPAN%20class%3D%22parameter%22%3EC%3A%5Cinetpub%5COWA_SECONDARY%3C%2FSPAN%3E)%20and%20bind%20it%20to%20the%20new%20IP.%20Enable%20for%20SSL%2C%20choose%20whatever%20certificate%20you%20want%20to%20use%20for%20this%20site.%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F31%2F06%2Fmetablogapi%2Fowa1_6BCDF7E1.png%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-31-06-metablogapi%2Fowa1_5F00_6BCDF7E1.png%22%20target%3D%22_blank%22%3E%3CIMG%20title%3D%22owa1%22%20style%3D%22border-left-width%3A0px%3Bborder-right-width%3A0px%3Bbackground-image%3Anone%3Bborder-bottom-width%3A0px%3Bpadding-top%3A0px%3Bpadding-left%3A0px%3Bdisplay%3Ainline%3Bpadding-right%3A0px%3Bborder-top-width%3A0px%3B%22%20border%3D%220%22%20alt%3D%22owa1%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F31%2F06%2Fmetablogapi%2Fowa1_thumb_6E0A809D.png%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-31-06-metablogapi%2Fowa1_5F00_thumb_5F00_6E0A809D.png%22%20width%3D%22240%22%20height%3D%22231%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%20%3C%2FLI%3E%3CLI%3EGive%20the%20local%20%3CB%3EIIS_IUSRS%3C%2FB%3E%20group%20%3CB%3ERead%3C%2FB%3E%20and%20%3CB%3EExecute%3C%2FB%3E%20permission%20to%20the%20%3CSPAN%20class%3D%22parameter%22%3EC%3A%5Cinetpub%5COWA_SECONDARY%20folder.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3ECopy%20the%20Default%20Web%20Site%20root%20folder%20contents%20%3CB%3Ein%20its%20entirety%20including%20any%20subfolders%3C%2FB%3E%20to%20the%20new%20site%20root%20folder%20(i.e.%20copy%20%3CSPAN%20class%3D%22parameter%22%3E%25SystemDrive%25%5Cinetpub%5Cwwwroot%5C%3C%2FSPAN%3E%20contents%20to%20%3CSPAN%20class%3D%22parameter%22%3EC%3A%5Cinetpub%5COWA_SECONDARY%3C%2FSPAN%3E).%3C%2FLI%3E%3CLI%3ECreate%20new%20OWA%20and%20ECP%20subfolders%20in%20your%20new%20web%20site%E2%80%99s%20root%20folder%20(%3CSPAN%20class%3D%22parameter%22%3EC%3A%5Cinetpub%5COWA_SECONDARY%5COWA%2C%20C%3A%5Cinetpub%5COWA_SECONDARY%5CECP%3C%2FSPAN%3E).%3C%2FLI%3E%3CLI%3ECopy%20the%20entire%20contents%20of%20the%20Default%20Web%20Site%20OWA%20and%20ECP%20folders%20including%20any%20subfolders%20to%20the%20new%20subfolders%20for%20new%20web%20site.%20(Copied%20from%20%3CSPAN%20class%3D%22parameter%22%3E%2F%E2%80%A6%2FFrontEnd%2FHttpProxy%3C%2FSPAN%3E).%3C%2FLI%3E%3CLI%3ERun%20the%20following%20(substituting%20%3CSPAN%20class%3D%22parameter%22%3E%3CSERVER%3E%3C%2FSERVER%3E%3C%2FSPAN%3E%20for%20the%20server%20hosting%20the%20CAS%20role)%3B%3COL%20type%3D%22a%22%3E%20%3CLI%3E%3CSPAN%20class%3D%22parameter%22%3ENew-OwaVirtualDirectory%20-Server%20%3CSERVER%3E%20-Role%20ClientAccess%20-WebSiteName%20OWA_SECONDARY%20-Path%20%22C%3A%5Cinetpub%5COWA_SECONDARY%5COWA%22%3C%2FSERVER%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22parameter%22%3ENew-EcpVirtualDirectory%20-Server%20%3CSERVER%3E%20-Role%20ClientAccess%20-WebSiteName%20OWA_SECONDARY%20-Path%20%22C%3A%5Cinetpub%5COWA_SECONDARY%5CECP%22%3C%2FSERVER%3E%3C%2FSPAN%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F31%2F06%2Fmetablogapi%2Fowa2_65B2BD14.png%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-31-06-metablogapi%2Fowa2_5F00_65B2BD14.png%22%20target%3D%22_blank%22%3E%3CIMG%20title%3D%22owa2%22%20style%3D%22border-left-width%3A0px%3Bborder-right-width%3A0px%3Bbackground-image%3Anone%3Bborder-bottom-width%3A0px%3Bpadding-top%3A0px%3Bpadding-left%3A0px%3Bdisplay%3Ainline%3Bpadding-right%3A0px%3Bborder-top-width%3A0px%3B%22%20border%3D%220%22%20alt%3D%22owa2%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2FTNBlogsFS%2Fprod.evol.blogs.technet.com%2FCommunityServer.Blogs.Components.WeblogFiles%2F00%2F00%2F00%2F31%2F06%2Fmetablogapi%2Fowa2_thumb_75C18BCB.png%22%20original-url%3D%22http%3A%2F%2Fblogs.technet.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-blogs-components-weblogfiles%2F00-00-00-31-06-metablogapi%2Fowa2_5F00_thumb_5F00_75C18BCB.png%22%20width%3D%22640%22%20height%3D%22163%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%20%3C%2FLI%3E%3CLI%3ERun%20the%20following%20to%20set%20the%20default%20site%20to%20IWA%20only%20(this%20is%20optional%2C%20but%20provided%20in%20case%20you%20want%20to%20do%20this)%3B%3COL%20type%3D%22a%22%3E%20%3CLI%3E%3CSPAN%20class%3D%22parameter%22%3ESet-OwaVirtualDirectory%20-Identity%20%22%3CSERVER%3E%5Cowa%20(Default%20Web%20Site)%22%20-FormsAuthentication%20%24false%20-WindowsAuthentication%20%24true%3C%2FSERVER%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22parameter%22%3ESet-EcpVirtualDirectory%20-Identity%20%22%3CSERVER%3E%5Cecp%20(Default%20Web%20Site)%22%20-FormsAuthentication%20%24false%20-WindowsAuthentication%20%24true%3C%2FSERVER%3E%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%20%3C%2FLI%3E%3CLI%3EPerform%20an%20%3CSPAN%20class%3D%22parameter%22%3EIISReset%3C%2FSPAN%3E.%3C%2FLI%3E%3CLI%3ETest!%20Really%2C%20make%20sure%20you%20do.%3C%2FLI%3E%3C%2FOL%3E%20%3CP%3EThe%20final%20thing%20to%20understand%20is%20what%20you%20need%20to%20do%20when%20you%20apply%20a%20Cumulative%20Update%20(CU)%20to%20any%20server%20you%20have%20made%20these%20changes%20to.%20The%20CU%20install%20will%20NOT%20properly%20update%20the%20files%20in%20the%20secondary%20OWA%20or%20ECP%20web%20site%20for%20you%2C%20nor%20will%20the%20secondary%20site%20work%20correctly.%20It%E2%80%99s%20not%20just%20a%20resource%20folder%2Ffile%20version%20issue%20and%20just%20updating%20the%20files%20in%20directory%20is%20not%20going%20to%20do%20it%2C%20there%E2%80%99s%20more%20to%20it.%3C%2FP%3E%20%3CP%3EThe%20only%20supported%20solution%20here%20is%20to%20delete%20the%20secondary%20Vdirs%20and%20Web%20Site%20and%20re-do%20all%20the%20steps.%20So%2C%20make%20sure%20you%20have%20noted%20any%20non-default%20settings%20you%20had%20on%20the%20site%2C%20then%20delete%20the%20Vdirs%2C%20delete%20the%20web%20site%20(don%E2%80%99t%20forget%20to%20do%20this)%2C%20delete%20any%20content%20in%20the%20folders%2C%20and%20start%20again%20at%20step%203%20in%20the%20list%20above.%20Re-create%20the%20web%20site%2C%20re-create%20the%20Vdirs%2C%20copy%20the%20latest%20files%20and%20re-apply%20any%20custom%20configuration%20or%20settings%20you%20previously%20applied.%20Don%E2%80%99t%20skip%20any%20steps%20or%20take%20any%20shortcuts.%20Script%20it%20(you%20can%20even%20script%20the%20deletion%2Fcreation%20of%20a%20web%20site)%2C%20run%20that%20script%20after%20you%20install%20the%20CU%2C%20and%20ensure%20you%20do%20this%20after%20each%20and%20every%20CU.%3C%2FP%3E%20%3CP%3EOnce%20you%20have%20done%20that%20you%20should%20be%20good%20to%20go.%3C%2FP%3E%20%3CP%3EWe%20hope%20this%20helps%20you%20understand%20the%20configuration%20a%20bit%20better%20now%20should%20you%20choose%20to%20go%20down%20this%20route%20and%20please%20post%20back%20if%20you%20have%20any%20questions%20or%20comments.%3C%2FP%3E%20%3CP%3E%3CSPAN%20class%3D%22author%22%3EGreg%20Taylor%3C%2FSPAN%3E%20%3CBR%20%2F%3EPrincipal%20PM%20Manager%20%3CBR%20%2F%3EOffice%20365%20Customer%20Experience%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jul 01 2019 04:21 PM
Updated by:
www.000webhost.com