Create an Outlook Web App Virtual Directory

Applies to: Exchange Server 2010

You can use the Shell to create a Microsoft Office Outlook Web App virtual directory in Microsoft Exchange Server 2010.

By default, when Exchange 2010 is installed, a new virtual directory named "owa" is created in the default Web site in Internet Information Services (IIS). Alternatively, when you run the New-OWAVirtualDirectory ** cmdlet in the Shell, a new virtual directory named "owa" is created in the default IIS Web site on the local Exchange 2010 server.

To create a new Outlook Web App virtual directory, the following conditions must be true:

  • The local Exchange 2010 server has the Client Access server role installed.
  • There is a default IIS Web site, for example, /w3svc/1/root.
  • An Outlook Web App virtual directory named "owa" doesn't already exist.

If you have to create a new virtual directory for Outlook Web App, make sure that users are aware of the changes you're making. You'll be interrupting mail flow for your users.

Important

When the default owa virtual directory is created, both forms-based authentication and Secure Sockets Layer (SSL) encryption are enabled. However, when you create a new virtual directory by using the New-OWAVirtualDirectory cmdlet, neither forms-based authentication or SSL encryption is enabled.

Looking for other management tasks related to Outlook Web App virtual directories? Check out Managing Outlook Web App Virtual Directories.

Use the Shell to create an Outlook Web App virtual directory

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Outlook Web App virtual directories" entry in the Client Access Permissions topic.

This example creates a new Outlook Web App virtual directory under the contoso.com Web site.

New-OwaVirtualDirectory -Name "Contoso" -WebSite "Contoso.com"

For more information about syntax and parameters, see New-OwaVirtualDirectory.

Other Tasks

After you create an Outlook Web App virtual directory, you may also want to: