<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved! in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124301#M1652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto, For this thread, we do not actually have a reverse proxy in front of our portal.&amp;nbsp; We instead applied a DNS alias but that broke our server federation.&amp;nbsp; Following the configuration steps in the 'Configuring a reverse proxy server with your portal' solved our system issues.&amp;nbsp; We have, however, on other systems deployed a reverse proxy in front of various solutions.&amp;nbsp; We have used network appliances (such as &lt;A href="https://www.barracuda.com/netcontinuum/"&gt;NetContinuum&lt;/A&gt; and Barracuda Networks&lt;A href="https://www.barracuda.com/products/webapplicationfirewall"&gt; Web-Application Firewall&lt;/A&gt;) but have also used the Microsoft IIS &lt;A href="http://www.iis.net/downloads/microsoft/application-request-routing"&gt;Application Request Routing&lt;/A&gt; (ARR) successfully on a few other projects.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 18:36:42 GMT</pubDate>
    <dc:creator>PF1</dc:creator>
    <dc:date>2015-01-21T18:36:42Z</dc:date>
    <item>
      <title>Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124299#M1650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is more for informational purposes to hopefully help the community resolve this issue if they come across it (Knowledge Base)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Background: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We have an on-premise deployment of the Portal for ArcGIS product (ArcGIS for Server Extension).&amp;nbsp; Currently running 10.2.1 but working on an upgrade to 10.2.2.&amp;nbsp; Config-store/content directories are all local C Drive.&amp;nbsp; Windows Server 2008 R2 64-bit Virtual Machine (VMWare) with 2 vCPU and 6GB Ram.&amp;nbsp; The portal has a web-adaptor and is configured with Integrated Windows Authentication (IWA) using kerberos (and/or NTLM if needed).&amp;nbsp; All communication over HTTPS using a TLS 1.0 or higher connection.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The portal has 1 federated ArcGIS Server (no web-adaptor) and designated as a hosting server.&amp;nbsp; We have no publishers, the AGS hosting server is not used to actually host features/services, it is only there to enable users to upload zipped shapefiles (up to 1,000 features). We have a pretty large ArcGIS for Server deployment in our enterprise that our users publish to (outside the portal) and then manually register content with our internal portal if necessary.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Our Issue:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We had a lot of issues during the upgrade, but finally worked through them all except being able to add the AGS as a federated/hosted arcgis server.&amp;nbsp; We were not able to do an upgrade in place (10.2.1 to 10.2.2).&amp;nbsp; After about 90 minutes it would fail starting the windows NT service.&amp;nbsp; A complete un-install of 10.2.1 and re-install of 10.2.2 pointing to an existing content directory worked.&amp;nbsp; But the AGS federation was still an issues (for the past 2 weeks).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We watched network traffic, and when trying to federate the AGS it was calling a page like this: &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;A href="https://dnsalias.domain/portal/sharing/proxy?https://agsservername.domain:6443/arcgis/rest/info?f=json" title="https://dnsalias.domain/portal/sharing/proxy?https://agsservername.domain:6443/arcgis/rest/info?f=json"&gt;https://dnsalias.domain/portal/sharing/proxy?https://agsservername.domain:6443/arcgis/rest/info?f=json&lt;/A&gt; &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;we kept getting an HTTP Error code response 403 (forbidden) and an IIS log entry that looked something like: &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;#Software: Microsoft Internet Information Services 7.5&lt;/P&gt;
&lt;P&gt;#Version: 1.0&lt;/P&gt;
&lt;P&gt;#Date: &amp;lt;DATE&amp;gt; &amp;lt;TIME&amp;gt;&lt;/P&gt;
&lt;P&gt;#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;DATE&amp;gt; &amp;lt;TIME&amp;gt; &amp;lt;Server-IP&amp;gt; POST /portal/sharing/proxy &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://agsservername.domain:6443/arcgis/rest/info?f=json" rel="nofollow" target="_blank"&gt;https://agsservername.domain:6443/arcgis/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt; 443 &amp;lt;DOMAIN&amp;gt;\&amp;lt;USERNAME&amp;gt; &amp;lt;CLIENT-IP&amp;gt; Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+InfoPath.3) 403 0 0 306&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried multiple methods of federating the portal (including manually doing it through the portaladmin rest interface).&amp;nbsp; No matter what we did, we could not get past this 403 forbidden.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The Resolution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After exhaustive research... (and about to open a ticket w/ Esri) we finally stumbled across the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/#/Configuring_a_reverse_proxy_server_with_your_portal/017s0000008z000000/"&gt;Configuring a reverse proxy server with your portal&lt;/A&gt; help article (which I do not remember when we originally installed our portal @ 10.2).&amp;nbsp; Executing this configuration setting solved our issue!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we technically do not have a reverse proxy (other than the out of the box web-adaptor) in front of the portal, but it seems to have fixed our problem with the alias.&amp;nbsp; We had also tested this in an environment without the alias and did not need to implement this configuration setting when we had no alias applied.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 22:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124299#M1650</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2014-10-29T22:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124300#M1651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how did you create the reverse proxy? Apache? IIS?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 16:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124300#M1651</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2015-01-21T16:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124301#M1652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto, For this thread, we do not actually have a reverse proxy in front of our portal.&amp;nbsp; We instead applied a DNS alias but that broke our server federation.&amp;nbsp; Following the configuration steps in the 'Configuring a reverse proxy server with your portal' solved our system issues.&amp;nbsp; We have, however, on other systems deployed a reverse proxy in front of various solutions.&amp;nbsp; We have used network appliances (such as &lt;A href="https://www.barracuda.com/netcontinuum/"&gt;NetContinuum&lt;/A&gt; and Barracuda Networks&lt;A href="https://www.barracuda.com/products/webapplicationfirewall"&gt; Web-Application Firewall&lt;/A&gt;) but have also used the Microsoft IIS &lt;A href="http://www.iis.net/downloads/microsoft/application-request-routing"&gt;Application Request Routing&lt;/A&gt; (ARR) successfully on a few other projects.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 18:36:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124301#M1652</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2015-01-21T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124302#M1653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;I also tried to use ARR, but I don't understand an issue: the reverse proxy works, but when I try to access the portal home page from the proxy URL, portal response is a redirect (http 302) and the browser is redirected to the original web adaptor URL.&lt;/P&gt;&lt;P&gt;is it something you experienced? because what I expect from a proxy is that it hides the destination URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 07:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124302#M1653</guid>
      <dc:creator>deleted-user-pYdfRjvSAbTJ</dc:creator>
      <dc:date>2015-01-22T07:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124303#M1654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it depends on how you setup the ARR configuration.&amp;nbsp; It appears you are experiencing a URL Re-Direct rather than a URL Re-Write.&amp;nbsp; We have set it up ARR to do a URL Re-write 2 different ways (depending on requirements):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1: &lt;A href="https://technet.microsoft.com/en-us/library/ee683953(v=ws.10).aspx"&gt;Setup a server farm&lt;/A&gt; and then establish an inbound rule with a 'URL Re-write' Rule at the root of the server.&amp;nbsp; Make sure under 'Actions' that &lt;STRONG&gt;Route to Server Farm&lt;/STRONG&gt; is selected:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="53625" alt="arr_route_to_server_farm.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/53625_arr_route_to_server_farm.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2: Do not setup the server farm but instead, create a &lt;STRONG&gt;&lt;A href="http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-rule-template"&gt;Reverse Proxy Inbound Rule&lt;/A&gt;‌ &lt;/STRONG&gt;with an action of 'Re-Write':&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="53626" alt="arr_reverseproxy_rewrite.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/53626_arr_reverseproxy_rewrite.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&amp;nbsp; If you do a URL Re-direct it will look like this and that might be the reason you are getting an HTTP Status Code 302: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="arr_url_redirect.png" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/53726_arr_url_redirect.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kuddos to &lt;A href="https://community.esri.com/migrated-users/16314"&gt;Dan Huber&lt;/A&gt;‌ who helped us establish rules in a few environments (they get a little tricky).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 21:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124303#M1654</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2015-01-22T21:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124304#M1655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Patrick, it works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 00:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124304#M1655</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2017-04-11T00:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Portal &amp; ArcGIS Server Federation Issue with DNS Alias (CNAME record) - Solved!</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124305#M1656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/4259"&gt;Roberto Messora&lt;/A&gt;‌ did you set the Web Context URL, following the &lt;A href="http://server.arcgis.com/en/portal/latest/administer/windows/using-a-reverse-proxy-server-with-portal-for-arcgis.htm"&gt;use a reverse proxy with Portal&lt;/A&gt; documentation that &lt;A href="https://community.esri.com/people/pfoppe"&gt;pfoppe&lt;/A&gt;‌ mentioned? &amp;nbsp;That should tell the Portal that there's a different front-end than the web adaptor. &amp;nbsp;It only redirects to the web adaptor because that's what it knows to be the entry point to the portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/portal-arcgis-server-federation-issue-with-dns/m-p/124305#M1656</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-04-11T15:29:28Z</dc:date>
    </item>
  </channel>
</rss>

