Solved

I need to rename my internal domain name

Posted on 2014-04-21
16
485 Views
Last Modified: 2014-05-05
Hello I have a system with internal domain name "domain.local" , I need to change the domain name to be as external name because the Exchange autodiscover is not working correctly.

Can I rename the Domain Name?

My system is 2 DC window 2012, and TMG Windows 2008R2, and Exchange 2013 Windows 2012.

Thanks
0
Comment
Question by:limmontreefree
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 7
16 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 40013463
Here is a step by step on what to do for this:


You can run the following commands to get the External Urls:
Get-ActiveSyncVirtualDirectory   | ft server,*lur* -AutoSize
Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize
Get-ClientAccessServer           | ft name,  *lur* -AutoSize
Get-EcpVirtualDirectory          | ft server,*lur* -AutoSize
Get-OabVirtualDirectory          | ft server,*lur* -AutoSize
Get-OwaVirtualDirectory          | ft server,*lur* -AutoSize
Get-WebServicesVirtualDirectory  | ft server,*lur* –AutoSize

Then change your internal urls to match the external urls:

Set-ClientAccessServer -Identity HostName -AutodiscoverServiceInternalUri https://mail.yourdomain.com/autodiscover/autodiscover.xml

Set-WebServicesVirtualDirectory -Identity "HostName\EWS (Default Web Site)" -InternalUrl https://mail.yourdomain.com/ews/exchange.asmx

Set-OABVirtualDirectory -Identity "HostName\oab (Default Web Site)" -InternalUrl https://mail.yourdomain.com/oab
0
 

Author Comment

by:limmontreefree
ID: 40013481
These commands are for Exchange?
0
 
LVL 29

Expert Comment

by:becraig
ID: 40013484
Yes they are.

This will simply let your internal domains now resolve to external domain names.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:limmontreefree
ID: 40013495
Ok tomorrow I'll try and tell you.

Thank you very much
0
 

Author Comment

by:limmontreefree
ID: 40016197
Really I having troubles to make the commands,

I made the get commands so you can see the server name...

The external name is mail.enkar.net

Can you help me with the commands.

Thanks
urls.txt
0
 
LVL 29

Expert Comment

by:becraig
ID: 40016274
Ok so it seems you do not have an external url value defined.

So your easiest solution would be:
Creating a new internal DNS value for
enkar-exchange.enkar.com (or whatever a valid domain extension would be for you)
You will need to be able to show  proof of a DNS name

Then create a dns entry to point that record to the ip address:
enkar-exchange.enkar.local currently resolves to.

Is this a new deployment ?
Or a working scenario that is now broken ?
0
 

Author Comment

by:limmontreefree
ID: 40017215
Hello becraig,

It's a new scenario, I have a Domain controller with a DNS server the Domain name is ENKAR,local the internal DNS can solve the ENKAR-EXCHANGE.ENKAR.local name (the exchange server).

In other Hand I have configured the external urls. I send you a log.

I'm estranged with the Get-AutodiscoverVirtualDirectory because there aren't any url internal neither external.

Any help?

Thank you very much.
urls2.txt
0
 
LVL 29

Expert Comment

by:becraig
ID: 40017739
There is no need to define any for auto-discover, that being said if you are just building this out I  would suggest you go ahead and map you Internal Urls to match your External URLS (as you will not be able to acquire a cert with the .local names.


More info on why you do not need to define urls for auto discover:
http://davidsampson10.wordpress.com/2012/11/20/the-autodiscover-internalexternal-url/
0
 

Author Comment

by:limmontreefree
ID: 40017865
Ok but one question more I'll use the internal as "mail.enkar.net".

Have I to do something in my internal DNS to redirect mail.enkar,net to the Excahgne IP?

Thanks again.
0
 
LVL 29

Expert Comment

by:becraig
ID: 40017927
Nope once you set the internal URL Exchange knows what to do beneath the hood.

After all these are all IIS virtual directories, so since your external URLs go to the same site there will be no added config needed.
0
 

Author Comment

by:limmontreefree
ID: 40018825
But still having issue with autodiscover.

I'm trying

https://testconnectivity.microsoft.com
mail test@enkar.net
user ENKAR\test
mail.enkar.net
ENKAR-EXCHANGE.ENKAR.local

Can you try and give me your impression?

thanks
0
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40018835
Use the following to help troubleshoot:
Test-OutlookWebServices -identity:test@enkar.net | ft * -AutoSize -Wrap


Let me know the output.
0
 

Author Comment

by:limmontreefree
ID: 40018875
Here you are.

thanks.
test.txt
0
 
LVL 29

Expert Comment

by:becraig
ID: 40027668
Ok so I have reviewed your output and several of your services still show .local as the internal URL:
[PS] C:\>Get-OabVirtualDirectory          | ft server,*lur* -AutoSize

Server         InternalUrl                            ExternalUrl
------         -----------                            -----------
ENKAR-EXCHANGE https://enkar-exchange.enkar.local/OAB https://mail.enkar.net/OAB


[PS] C:\>Get-WebServicesVirtualDirectory  | ft server,*lur* -AutoSize

Server         InternalUrl                                          ExternalUrl
------         -----------                                          -----------
ENKAR-EXCHANGE https://enkar-exchange.enkar.local/EWS/Exchange.asmx https://mail.enkar.net/EWS/Exchange.asmx

Open in new window


I think you should be good to go once you correct those.
0
 

Author Comment

by:limmontreefree
ID: 40028363
Here you are a new snapshot  with all  the commands

Get-ActiveSyncVirtualDirectory   | ft server,*lur* -AutoSize
Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize
Get-ClientAccessServer           | ft name,  *lur* -AutoSize
Get-EcpVirtualDirectory          | ft server,*lur* -AutoSize
Get-OabVirtualDirectory          | ft server,*lur* -AutoSize
Get-OwaVirtualDirectory          | ft server,*lur* -AutoSize
Get-WebServicesVirtualDirectory  | ft server,*lur* –AutoSize


Can you review it?

Thanks for your time.
url3.txt
0
 

Author Closing Comment

by:limmontreefree
ID: 40042203
Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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 https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

636 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