Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

I need to rename my internal domain name

Posted on 2014-04-21
16
Medium Priority
?
488 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
Industry Leaders: 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!

 

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 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
New style of hardware planning for Microsoft Exchange server.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

715 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