Forum Discussion

Marcelvk's avatar
Marcelvk
Level 3
9 years ago

Change the Shortcut URL for split DNS

We have a default installed EV environment in a testenvironment with a fqdn of ev.testlab.local and an allias evserver.testlab.local.

We have EV11 with Exchange 2013 and want to deploy the EV mail app in Exchange 2013 WebApp.

According the manual i have installed the app with the following code:

$Mbx = get-mailbox "testuser1"
$uri = new-object system.uri(
"http://EVserver.testlab.local/EnterpriseVault/OfficeMailAppManifest.aspx?LegacyMbxDn=" +
$Mbx.LegacyExchangeDN + "&BaseURL=https://evserver.domain.nl/EnterpriseVault")
$webclient = New-Object Net.Webclient
$webClient.UseDefaultCredentials = $true
try
{
$bytes = $webclient.DownloadData($uri)
New-App -organizationApp -DefaultstateForUser:enabled -FileData $bytes
}
catch [Net.WebException]
{
[Net.HttpWebResponse] $webResponse = [Net.HttpWebResponse]$_.Exception.Response;
Write-Warning $webResponse.StatusDescription
} 

i logon to a client that is not a member of the domain and in the hostfile i created two hostfile entries:

192.168.2.16 evserver.domain.nl

192.168.2.15 webmail.domain.nl (Owa 2013)

When i login to OWA, i see the EV mail app and a EV banner in the message body  "this message has been archived" with a URL

 

When i open the mail app, i am getting a basic loginpage, login as testuser1 and the EV buttons appear......it this normal??

When i open the archived message through a button evrything works fine

When i open de URL in the message body, the page cannot be displayed due incorrect URL

URL:

http://evserver.testlab.local/EnterpriseVault/ViewMessage.asp?VaultId=1C992DBEF2841B94587F4B19F43E92D971110000evserver&SavesetId=201601273906248~201601261210050000~Z~914368FBD6248099E4EF80AA43F66641

If i manually change the URL to https:evserver.domain.nl/...... i also get an basic login prompt, log in as user2 and the original email opens in a new IE tab.

What can i do to change this URL so that it will be accessible both internal and external. I don't like to rewrite the URL with a proxy or some kind.

I found multiple articles for changing the URL but as far as i can see these are written for older EV and Exchange 2010-2007