<?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: WebContextURL or Web Adapter in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073631#M30606</link>
    <description>&lt;P&gt;The way I look at it is that the WebContextURL entry is the ultimate way of defining the public DNS alias and context for a site. It would override whatever URL was used during the web adaptor configuration.&lt;/P&gt;&lt;P&gt;When you register a web adaptor, the URL you use to access the configuration page (for Portal for ArcGIS specifically) is inherited as the Portal's URL. This is great for internal environments when using an FQDN or A/CNAME record to access the machine hosting the web adaptor, but when you throw a reverse proxy in front of that machine then you are no longer able to use the correct URL to access the web adaptor configuration page (it'll warn the user to access the page from the machine hosting the web adaptor). This is where the WebContextURL comes in handy and should be set prior to the creation of any content or the federation of any sites.&lt;/P&gt;&lt;P&gt;Setting the WebContextURL won't have any adverse effects on a site using a web adaptor, and is required when implementing multiple web adaptors since the same registration URL wouldn't be possible from two machines to keep the consistency of a single DNS for the site. If deciding to not utilize the web adaptors, it's important to keep the additional headers and rewrites in mind as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See step 2:&lt;/P&gt;&lt;P&gt;"Open the configuration page in a web browser using an HTTPS URL such as &lt;A href="https://webadaptorhost.domain.com/webadaptorname/webadaptor" target="_blank"&gt;https://webadaptorhost.domain.com/webadaptorname/webadaptor&lt;/A&gt;. If a DNS alias will be used with the portal, the Web Adaptor should be configured over the DNS alias instead, using a URL such as https://&amp;lt;dnsalias.domain.com&amp;gt;/&amp;lt;webadaptorname&amp;gt;/webadaptor."&lt;/P&gt;&lt;P&gt;From:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/web-adaptor/latest/install/iis/configure-arcgis-web-adaptor-portal.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/web-adaptor/latest/install/iis/configure-arcgis-web-adaptor-portal.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 13:03:51 GMT</pubDate>
    <dc:creator>ChristopherPawlyszyn</dc:creator>
    <dc:date>2021-06-29T13:03:51Z</dc:date>
    <item>
      <title>WebContextURL or Web Adapter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073142#M30597</link>
      <description>&lt;DIV class="leader-1"&gt;Recently I Installed an ArcGIS Enterprise. I have done it before and I use to install portal and configure it with WA. Then&amp;nbsp; we use our proxy server to forward request.&lt;/DIV&gt;&lt;DIV class="leader-1"&gt;But during recent 10.8.1 installation I got the following Note:&lt;/DIV&gt;&lt;DIV class="leader-1"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="leader-1"&gt;&lt;EM&gt;"If you use the ArcGIS Web Adaptor, you need to install and configure it for use with Portal for ArcGIS. To get started, see&amp;nbsp;&lt;SPAN class="esriItemLinks"&gt;&lt;A href="https://pvil-arcgisportal.bafg.de:7443/arcgis/portalhelp/en/portal/latest/administer/linux/about-the-arcgis-web-adaptor.htm" target="_blank" rel="noopener"&gt;About the ArcGIS Web Adaptor&lt;/A&gt;&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="leader-1"&gt;&lt;EM&gt;Once you've installed the Web Adaptor and configured it for use, you’ll access your portal using the Web Adaptor’s URL. For example:&amp;nbsp;&lt;A href="https://pvil-arcgisportal.bafg.de/webadaptorname/home" target="_blank"&gt;https://pvil-arcgisportal.bafg.de/webadaptorname/home&lt;/A&gt;.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="leader-1"&gt;&lt;EM&gt;If you are not using the Web Adaptor,&amp;nbsp;&lt;SPAN class="esriItemLinks"&gt;&lt;A href="https://pvil-arcgisportal.bafg.de:7443/arcgis/portalhelp/en/portal/latest/administer/linux/using-a-reverse-proxy-server-with-portal-for-arcgis.htm" target="_blank" rel="noopener"&gt;configure the Web Context URL&lt;/A&gt;&lt;/SPAN&gt;."&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Previously I have been using WA and as the same time set WebContextURL property.&lt;/DIV&gt;&lt;DIV&gt;1. My question is, do we need to set WebContextURL&amp;nbsp;property if we configure portal with WA?&lt;/DIV&gt;&lt;DIV&gt;2. Are they complementary or a&amp;nbsp;substitute for one another? If so which approach is better?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Mehretab&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Jun 2021 11:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073142#M30597</guid>
      <dc:creator>Mehretab</dc:creator>
      <dc:date>2021-06-28T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: WebContextURL or Web Adapter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073272#M30598</link>
      <description>&lt;P&gt;Hi Mehretab,&lt;/P&gt;&lt;P&gt;The short answer, to the best of my knowledge, is yes.&amp;nbsp; The WebContextURL property must be set if the url to the portal's native endpoint (i.e. https:&amp;lt;portal host&amp;gt;:7443) is different than that of the Web Adaptor.&lt;BR /&gt;AFAIK, this must be set regardless of using the Web Adapter or other proxy (or both). I believe one of the functions of the WebContextURL property is to specify the allowed referrer&amp;nbsp; url for authentication purposes (so Portal will trust referrers from the Web Adapator/proxy).&amp;nbsp; It would be really nice if Esri made it possible to specify multiple referrers, as they do for web apps.&lt;/P&gt;&lt;P&gt;I'd be interested to see Esri respond to your question, perhaps they can provide more... context.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 16:31:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073272#M30598</guid>
      <dc:creator>JonSwoveland</dc:creator>
      <dc:date>2021-06-28T16:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: WebContextURL or Web Adapter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073450#M30603</link>
      <description>&lt;P&gt;I always set the webcontexturl,&lt;/P&gt;&lt;P&gt;no matter if I’m using a WA or a third party load balancer. &amp;nbsp;It makes my configurations complete!&lt;/P&gt;&lt;P&gt;when we start to create content, the URLS for web maps, some services and apps all have internal hooks to that URL and it can’t be changed easily. &amp;nbsp; So adding the webcontextUrl is a belt and braces way of ensuring we have a robust implementation and that if someone puts another cname onto the web server, people can’t start using that instead.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;in summary. You can’t go wrong by adding it. &amp;nbsp;You can go wrong if you don’t.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 20:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073450#M30603</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2021-06-28T20:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: WebContextURL or Web Adapter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073631#M30606</link>
      <description>&lt;P&gt;The way I look at it is that the WebContextURL entry is the ultimate way of defining the public DNS alias and context for a site. It would override whatever URL was used during the web adaptor configuration.&lt;/P&gt;&lt;P&gt;When you register a web adaptor, the URL you use to access the configuration page (for Portal for ArcGIS specifically) is inherited as the Portal's URL. This is great for internal environments when using an FQDN or A/CNAME record to access the machine hosting the web adaptor, but when you throw a reverse proxy in front of that machine then you are no longer able to use the correct URL to access the web adaptor configuration page (it'll warn the user to access the page from the machine hosting the web adaptor). This is where the WebContextURL comes in handy and should be set prior to the creation of any content or the federation of any sites.&lt;/P&gt;&lt;P&gt;Setting the WebContextURL won't have any adverse effects on a site using a web adaptor, and is required when implementing multiple web adaptors since the same registration URL wouldn't be possible from two machines to keep the consistency of a single DNS for the site. If deciding to not utilize the web adaptors, it's important to keep the additional headers and rewrites in mind as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See step 2:&lt;/P&gt;&lt;P&gt;"Open the configuration page in a web browser using an HTTPS URL such as &lt;A href="https://webadaptorhost.domain.com/webadaptorname/webadaptor" target="_blank"&gt;https://webadaptorhost.domain.com/webadaptorname/webadaptor&lt;/A&gt;. If a DNS alias will be used with the portal, the Web Adaptor should be configured over the DNS alias instead, using a URL such as https://&amp;lt;dnsalias.domain.com&amp;gt;/&amp;lt;webadaptorname&amp;gt;/webadaptor."&lt;/P&gt;&lt;P&gt;From:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/web-adaptor/latest/install/iis/configure-arcgis-web-adaptor-portal.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/web-adaptor/latest/install/iis/configure-arcgis-web-adaptor-portal.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 13:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1073631#M30606</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2021-06-29T13:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: WebContextURL or Web Adapter</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1124132#M31827</link>
      <description>&lt;P&gt;Hi Chris. It sounds like that WebContextUrl can be set from portaladmin, and once it is set, the value will be kept. However, in the 10.9.1 version I just installed, either using DSC script or manually deploy, the changed value cannot be kept and always is changed back to the web adaptor value by the system itself. Any insights on who trigger this reversion? Due to the web adaptor url, I can only access the new portal 10.9.1 inside Azure VMs, which is incorrect.&amp;nbsp; We only have web adaptor, portal, arcgis server and data store on 4 Azure VMs, no reverse proxy.&amp;nbsp; I posted the question &lt;A href="https://community.esri.com/t5/arcgis-enterprise-portal-questions/enterprise-10-9-1-deployment-issues-on-azure-cloud/td-p/1123892" target="_self"&gt;here&lt;/A&gt; too. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 01:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/webcontexturl-or-web-adapter/m-p/1124132#M31827</guid>
      <dc:creator>JYI</dc:creator>
      <dc:date>2021-12-09T01:08:37Z</dc:date>
    </item>
  </channel>
</rss>

