Solved

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

Posted on 2014-12-11
5
238 Views
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 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

0
Comment
Question by:yo_bee
  • 2
  • 2
5 Comments
 
LVL 20

Assisted Solution

by:SatyaPathak
SatyaPathak earned 250 total points
Comment Utility
0
 
LVL 8

Expert Comment

by:tshearon
Comment Utility
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.
0
 
LVL 21

Author Comment

by:yo_bee
Comment Utility
@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?
0
 
LVL 8

Accepted Solution

by:
tshearon earned 250 total points
Comment Utility
Try this in EMS and see if you get a value for externalurl:

Get-WebServicesVirtualDirectory | fl server,externalurl
0
 
LVL 21

Author Closing Comment

by:yo_bee
Comment Utility
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
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
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.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now