Link to home
Start Free TrialLog in
Avatar of yo_bee
yo_beeFlag for United States of America

asked on

Exchange 2010 CAS setup getting this error "The host specified for the "ExternalUrl" parameter can't be resolved"

I am installing my first Exchange 2010 in my environment.
This will be a 2003 to 2010 transition.  
I am using a wildcard SSL from Godaddy.
I installed the CAS role on server and started the Autodiscovery setup. I was able to set the external address for OAB (Default Web Site).

Set-OABVirtualDirectory -Identity "CAS01\OAB (Default Web Site)" -ExternalUrl https://mail.contoso.com/OAB -RequireSSL:$true

Open in new window


When I run the command for EWS (Default Web Site) I get  "The host specified for the "ExternalUrl" parameter can't be resolved"

Set-WebServicesVirtualDirectory -Identity "CAS01\EWS (Default Web Site)" -ExternalUrl https://mail.contoso.com/EWS/Exchange.asmx -BasicAuthentication:$True

Open in new window

SOLUTION
Avatar of Satya Pathak
Satya Pathak
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tell me you are not using Mail.contoso.com and instead are using your mail domain name for the externalurl property. I'm pretty sure you aren't using contoso but if I didn't say it and you were then we would look pretty silly.
Avatar of yo_bee

ASKER

@tshearson:
I am not. :)

I ran the
[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl https://mail.xxxxxx.com/EWS/Exchange.asmx -BasicAuthentication:$True

Open in new window


Then
Get-WebServicesVirtualDirectory -Identity "xxxEXCAS01\EWS (Default Web Site)"

Open in new window

Now I do not get the error, but I do not see the column for the ExternalURL like I did with
get-OABVirtualDirectory

Open in new window

Even though I do not see the external url column does this mean that it is configured correctly?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yo_bee

ASKER

Thanks guys.  
I added Host A Record  to my DNS zone xxxxxxx.com for Mail prior to running the Set-WebServicesVirtualDirectory.
That might have done the trick.  
I feel that you both deserve the points.

Thanks
Mike