{"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&#8217;s is with Exchange Powershell, here is all the commands you need :<\/p>\n<pre>Set-WebServicesVirtualDirectory -Identity \"&lt;Your Server Name&gt;\\EWS (Default Web Site)\" -InternalUrl https:\/\/&lt;Your Server Name&gt;\/EWS\/Exchange.asmx -BasicAuthentication:$true\n Set-WebServicesVirtualDirectory -Identity \"&lt;Your Server Name&gt;\\EWS (Default Web Site)\" -ExternalUrl https:\/\/&lt;Your Server Name&gt;\/EWS\/Exchange.asmx -BasicAuthentication:$true\n\nSet-ClientAccessServer -Identity &lt;Your Server Name&gt; \u2013AutoDiscoverServiceInternalUri https:\/\/&lt;Your Server Name&gt;\/Autodiscover\/Autodiscover.xml\n\nSet-OutlookProvider -Identity EXCH -CertPrincipalName msstd:&lt;Your Server Name FQDN&gt;\n Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:&lt;Your Server Name FQDN&gt;\n Set-OutlookProvider -Identity WEB -CertPrincipalName msstd:&lt;Your Server Name FQDN&gt;\n\nSet-ActiveSyncVirtualDirectory -Identity \"&lt;Your Server Netbios Name &gt;\\Microsoft-Server-ActiveSync (Default Web Site)\" -ActiveSyncServer \"https:\/\/&lt;Your Server Netbios Name &gt;\/Microsoft-Server-ActiveSync\" -InternalUrl \"https:\/\/&lt;Your Server&nbsp; Name &gt;\/Microsoft-Server-ActiveSync\" -ExternalUrl \"https:\/\/&lt;Your Server Name &gt;\/Microsoft-Server-ActiveSync\"\n Set-EcpVirtualDirectory -Identity \"&lt;Your Server Netbios Name &gt;\\ecp (Default Web Site)\" -InternalUrl \"https:\/\/&lt;Your Server Name &gt;\/ecp\" -ExternalUrl \"https:\/\/&lt;Your Server Name &gt;\/ecp\"\n Set-OabVirtualDirectory -Identity \"&lt;Your Server Netbios Name &gt;\\OAB (Default Web Site)\" -InternalUrl \"https:\/\/&lt;Your Server Name &gt;\/OAB\" -ExternalUrl \"https:\/\/&lt;Your Server Name &gt;\/OAB\" -RequireSSL $true\n Set-OwaVirtualDirectory -Identity \"&lt;Your Server Netbios Name &gt;\\owa (Default Web Site)\" -InternalUrl \"https:\/\/&lt;Your Server Name &gt;\/owa\" -ExternalUrl \"https:\/\/&lt;Your Server Name &gt;\/owa\"\n Set-PowerShellVirtualDirectory -Identity \"&lt;Your Server Netbios Name &gt;\\PowerShell (Default Web Site)\" -InternalUrl \"https:\/\/&lt;Your Server Name &gt;\/powershell\" -ExternalUrl \"https:\/\/&lt;Your Server Name &gt;\/powershell\"\n\nSet-OutlookAnywhere -Identity '&lt;Your Server Netbios Name &gt;\\Rpc (Default Web Site)' -SSLOffloading $true -ClientAuthenticationMethod NTLM -IISAuthenticationMethods Basic,NTLM -InternalClientsRequireSsl:$False\n Set-OutlookAnywhere -Identity \"&lt;Your Server Netbios Name &gt;\\Rpc (Default Web Site)\" -InternalHostname&nbsp;&lt;Your Server Name &gt; -ExternalHostName &lt;Your Server Name &gt; -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 &lt;Your Server New Name &gt;\n Get-Mailboxdatabase | Set-Mailboxdatabase -RpcClientAccessServer &lt;Your Server New Name &gt;<\/pre>\n<p>&nbsp;<\/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>&nbsp;<\/p>\n<hr>\n<h3>Good Luck<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>The best way to change exchange URL&#8217;s is with Exchange Powershell, here is all the commands you need : Set-WebServicesVirtualDirectory -Identity &#8220;&lt;Your Server Name&gt;\\EWS (Default Web Site)&#8221; -InternalUrl https:\/\/&lt;Your Server Name&gt;\/EWS\/Exchange.asmx -BasicAuthentication:$true Set-WebServicesVirtualDirectory -Identity &#8220;&lt;Your Server Name&gt;\\EWS (Default Web Site)&#8221; -ExternalUrl https:\/\/&lt;Your Server Name&gt;\/EWS\/Exchange.asmx -BasicAuthentication:$true Set-ClientAccessServer -Identity &lt;Your Server Name&gt; \u2013AutoDiscoverServiceInternalUri https:\/\/&lt;Your Server Name&gt;\/Autodiscover\/Autodiscover.xml Set-OutlookProvider [&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}]}}