{"id":930,"date":"2018-09-20T11:37:15","date_gmt":"2018-09-20T09:37:15","guid":{"rendered":"http:\/\/itsimple.info\/?p=930"},"modified":"2020-07-27T09:36:57","modified_gmt":"2020-07-27T07:36:57","slug":"how-to-change-exchange-internalsexternals-urls","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=930","title":{"rendered":"How to change exchange internals\/externals URL&#8217;s"},"content":{"rendered":"<p>The best way to change exchange URL\u2019s is with Exchange Powershell, here is all the commands you need :<\/p>\n<pre>Set-WebServicesVirtualDirectory -Identity \"<Your Server Name>\\EWS (Default Web Site)\" -InternalUrl https:\/\/<Your Server Name>\/EWS\/Exchange.asmx -BasicAuthentication:$true\n Set-WebServicesVirtualDirectory -Identity \"<Your Server Name>\\EWS (Default Web Site)\" -ExternalUrl https:\/\/<Your Server Name>\/EWS\/Exchange.asmx -BasicAuthentication:$true\n\nSet-ClientAccessServer -Identity <Your Server Name> \u2013AutoDiscoverServiceInternalUri https:\/\/<Your Server Name>\/Autodiscover\/Autodiscover.xml\n\nSet-OutlookProvider -Identity EXCH -CertPrincipalName msstd:<Your Server Name FQDN>\n Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:<Your Server Name FQDN>\n Set-OutlookProvider -Identity WEB -CertPrincipalName msstd:<Your Server Name FQDN>\n\nSet-ActiveSyncVirtualDirectory -Identity \"<Your Server Netbios Name >\\Microsoft-Server-ActiveSync (Default Web Site)\" -ActiveSyncServer \"https:\/\/<Your Server Netbios Name >\/Microsoft-Server-ActiveSync\" -InternalUrl \"https:\/\/<Your Server\u00a0 Name >\/Microsoft-Server-ActiveSync\" -ExternalUrl \"https:\/\/<Your Server Name >\/Microsoft-Server-ActiveSync\"\n Set-EcpVirtualDirectory -Identity \"<Your Server Netbios Name >\\ecp (Default Web Site)\" -InternalUrl \"https:\/\/<Your Server Name >\/ecp\" -ExternalUrl \"https:\/\/<Your Server Name >\/ecp\"\n Set-OabVirtualDirectory -Identity \"<Your Server Netbios Name >\\OAB (Default Web Site)\" -InternalUrl \"https:\/\/<Your Server Name >\/OAB\" -ExternalUrl \"https:\/\/<Your Server Name >\/OAB\" -RequireSSL $true\n Set-OwaVirtualDirectory -Identity \"<Your Server Netbios Name >\\owa (Default Web Site)\" -InternalUrl \"https:\/\/<Your Server Name >\/owa\" -ExternalUrl \"https:\/\/<Your Server Name >\/owa\"\n Set-PowerShellVirtualDirectory -Identity \"<Your Server Netbios Name >\\PowerShell (Default Web Site)\" -InternalUrl \"https:\/\/<Your Server Name >\/powershell\" -ExternalUrl \"https:\/\/<Your Server Name >\/powershell\"\n\nSet-OutlookAnywhere -Identity '<Your Server Netbios Name >\\Rpc (Default Web Site)' -SSLOffloading $true -ClientAuthenticationMethod NTLM -IISAuthenticationMethods Basic,NTLM -InternalClientsRequireSsl:$False\n Set-OutlookAnywhere -Identity \"<Your Server Netbios Name >\\Rpc (Default Web Site)\" -InternalHostname\u00a0<Your Server Name > -ExternalHostName <Your Server Name > -InternalClientAuthenticationMethod ntlm -InternalClientsRequireSsl:$True -ExternalClientAuthenticationMethod Basic -ExternalClientsRequireSsl:$True\n\nTo change The server name to specific mailbox database you should use this to get the name of the database and the RPCClientAccessServer:\n\nGet-MailboxDatabase | fl RpcClientAccessserver\n then you can issue those command to change the server name\n Set-MailboxDatabase -identity \"Mailbox Database name\" -RpcClientAccessserver <Your Server New Name >\n Get-Mailboxdatabase | Set-Mailboxdatabase -RpcClientAccessServer <Your Server New Name ><\/pre>\n<p>\u00a0<\/p>\n<p>alternative you can use digicert tool (Download from here) :<a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2018\/09\/DigiCertINTool.zip\">DigiCertINTool <\/a><\/p>\n<p>Or From Digicert : <a href=\"https:\/\/www.digicert.com\/internal-domain-name-tool.htm\">https:\/\/www.digicert.com\/internal-domain-name-tool.htm<\/a><\/p>\n<p>You can also use Microsoft script to that :<a href=\"https:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/5163.managing-exchange-2010-externalinternal-url-s-via-powershell.aspx\"> https:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/5163.managing-exchange-2010-externalinternal-url-s-via-powershell.aspx<\/a><\/p>\n<p>\u00a0<\/p>\n<hr>\n<h3>Good Luck<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>The best way to change exchange URL\u2019s is with Exchange Powershell, here is all the commands you need : Set-WebServicesVirtualDirectory -Identity &#8220;\\EWS (Default Web Site)&#8221; -InternalUrl https:\/\/\/EWS\/Exchange.asmx -BasicAuthentication:$true Set-WebServicesVirtualDirectory -Identity &#8220;\\EWS (Default Web Site)&#8221; -ExternalUrl https:\/\/\/EWS\/Exchange.asmx -BasicAuthentication:$true Set-ClientAccessServer -Identity \u2013AutoDiscoverServiceInternalUri https:\/\/\/Autodiscover\/Autodiscover.xml Set-OutlookProvider -Identity EXCH -CertPrincipalName msstd: Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd: Set-OutlookProvider -Identity WEB -CertPrincipalName [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9,14],"tags":[],"class_list":["post-930","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange-2013","category-microsoft-exchange-2016","category-windows"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=930"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/930\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}