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

Posted on 2014-12-11
Last Modified: 2014-12-12
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 -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 -BasicAuthentication:$True

Open in new window

Question by:yo_bee
  • 2
  • 2
LVL 20

Assisted Solution

by:Satya Pathak
Satya Pathak earned 250 total points
ID: 40495580

Expert Comment

ID: 40495891
Tell me you are not using 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.
LVL 22

Author Comment

ID: 40496051
I am not. :)

I ran the
[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl -BasicAuthentication:$True

Open in new window

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

Open in new window

Even though I do not see the external url column does this mean that it is configured correctly?

Accepted Solution

tshearon earned 250 total points
ID: 40496082
Try this in EMS and see if you get a value for externalurl:

Get-WebServicesVirtualDirectory | fl server,externalurl
LVL 22

Author Closing Comment

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


Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Skype for Business server 6 47
exchange, office 365 13 37
Outlook search issues 5 17
Certificates for Exchange 2010 4 14
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question