Share via


How to Create an Outlook Web Access Virtual Directory in Exchange 2007

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

This topic explains how to use the Exchange Management Shell to create an Outlook Web Access virtual directory in Microsoft Exchange Server 2007.

By default, when Exchange 2007 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 Exchange Management Shell, a new virtual directory named "owa" is created in the default IIS Web site on the local Exchange 2007 server.

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

  • The local Exchange 2007 server has the Client Access server role installed.

  • There is a default IIS Web site, for example, /w3svc/1/root.

  • An Outlook Web Access virtual directory named "owa" does not already exist.

If you have to create a new virtual directory for Outlook Web Access, make sure that users are aware of the changes you are making. You will 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, FBA and SSL encryption are not enabled.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Organization Administrator role.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.

Procedure

To use the Exchange Management Shell to create an Outlook Web Access virtual directory

  • To create an Outlook Web Access virtual directory, run the following command:

    New-OWAVirtualDirectory -OwaVirtualDirectory -OWAVersion "ExchangeVersion" -VirtualDirectoryType Mailboxes -Name "VirtualDirectoryName" -Website "Contoso.com"
    

In the previous procedure, a new Outlook Web Access virtual directory is created under the contoso.com Web site.

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

For More Information

For more information about the tools that you can use to manage Outlook Web Access and the administrative tasks that you can perform on Outlook Web Access, see Managing Outlook Web Access.