Wednesday, 5 November 2014

Install and Configure Microsoft Exchange 2013 (Part 4)

5.0  Server Configurations

5.1 Virtual Directories

5.1.1  Configure External URLs

1.     Open the Exchange admin center via https://mail.limws.com/ecp. Enter your user name and password in Domain\user name and Password, and then click Sign in. Navigate to server > virtual directories and then click Configure external access domain Configure “”icon.


2.     Under Select the Client Access servers to use with the external URL, click Add “+” Icon.


3.     Select the Client Access servers you want to configure, and then click Add. After you’ve added all the Client Access servers you want to configure, click OK.


4.     In Enter the domain name you will use with your external Client Access servers, type the external domain you want to apply. For example, mail.limws.com. Click Save.


5.1.2  Configure Internal URLs

1.     Open the Exchange Management Shell and enter the following cmdlet to configure internal URLs for EXCH01

$HostName = "EXCH01"


2.     Run each of the following commands in the Exchange Management Shell to configure each internal URL to match the virtual directory’s external URL.

Set-EcpVirtualDirectory "$HostName\ECP (Default Web Site)" -InternalUrl ((Get-EcpVirtualDirectory "$HostName\ECP (Default Web Site)").ExternalUrl)


Set-WebServicesVirtualDirectory "$HostName\EWS (Default Web Site)" -InternalUrl ((Get-WebServicesVirtualDirectory "$HostName\EWS (Default Web Site)").ExternalUrl)


Set-ActiveSyncVirtualDirectory "$HostName\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl ((Get-ActiveSyncVirtualDirectory "$HostName\Microsoft-Server-ActiveSync (Default Web Site)").ExternalUrl)


Set-OabVirtualDirectory "$HostName\OAB (Default Web Site)" -InternalUrl ((Get-OabVirtualDirectory "$HostName\OAB (Default Web Site)").ExternalUrl)


Set-OwaVirtualDirectory "$HostName\OWA (Default Web Site)" -InternalUrl ((Get-OwaVirtualDirectory "$HostName\OWA (Default Web Site)").ExternalUrl)


Set-PowerShellVirtualDirectory "$HostName\PowerShell (Default Web Site)" -InternalUrl ((Get-PowerShellVirtualDirectory "$HostName\PowerShell (Default Web Site)").ExternalUrl)


 3.     Repeat the Step 1 for EXCH02 by entering the following cmdlet and follow by repeating the cmdlets in step 2

$HostName = "EXCH02"




5.2 Outlook Anywhere

1.     Open the Exchange admin center via https://mail.limws.com/ecp. Enter your user name and password in Domain\user name and Password, and then click Sign in. Navigate to server > servers and select the name of the Internet-facing Client Access server and then click Edit “” icon. Click Outlook Anywhere.


2.     In the Specify the external hostname field, specify the externally accessible FQDN of the Client Access server. For example, mail.limws.com. While you’re here, let’s also set the internally accessible FQDN of the Client Access server. In the Specify the internal hostname field, insert the FQDN you used in the previous step. For example, mail.limws.com. Click Save.


3.     Repeat step 1 and step 2 for EXCH02.


4.     To verify by entering the following cmdlet

Get-OutlookAnywhere | Format-List Server, Name, *Hostname*, *Authen*, *SSL*



5.3 Autodiscover

1.   Open the Exchange Management Shell and enter the following cmdlet to configure the URL for the internal Autodiscover service for EXCH01

Set-ClientAccessServer EXCH01 -AutoDiscoverServiceInternalUri https://mail.limws.com/Autodiscover/Autodiscover.xml


2.     Repeat step 1 for EXCH02 by entering the following cmdlet

Set-ClientAccessServer EXCH02 -AutoDiscoverServiceInternalUri https://mail.limws.com/Autodiscover/Autodiscover.xml


3.     To verify by entering the following cmdlet.

Get-ClientAccessServer | Format-List Name, AutoDiscoverServiceInternalUri

No comments:

Post a Comment