Hi folks
I'm wondering whether it's possible to deploy Portal for ArcGIS with several DNS entries?
The customer always had a standalone ArcGIS Server that had several DNS entries, so the ArcGIS REST directory was accessible over different URLs:
https://DNS1/arcgis/rest/services
https://DNS2/arcgis/rest/services
https://DNS3/arcgis/rest/services
I installed now a Portal and federated ArcGIS Server with https://DNS1/arcgis as the services URL. I set https://DNS1/portal as the webcontexturl.
Portal seems accessible over the 3 DNS entries:
https://DNS1/portal
https://DNS2/portal
https://DNS3/portal
(when logging in in https://DNS2/portal& https://DNS3/portal in the item details I see https://DNS1/arcgis/rest/services/xyz/MapServer which makes sense as the federation was based on DNS1; I can live with that)
However, 2 things don't work:
When trying to login on ArcGIS Server Manager or to login on the REST directory, when using the DNS2 or DNS3 URLs nothing happens. I see a token error in the DEV tools of the browser. One of the URLs that is constructed is the following one:
https://DNS1/portal/sharing/generateToken?request=getToken&serverUrl=https://DNS2/arcgis/login/../rest/services&token=BxkO5jdW8lsf2kDz0oUoUtBLggOj_JodPeF5at4twwKHdWYsMoswBK6_rPAKETh0edQtyxQeW7AeUPRtUOG9Crvqoi7pHYJu0wSJkhdG_IjF5WITXaYEw2-lEG-ZoTNoD2syhR-Ah48oGdOnuZfTYIC9-6UBeZWmdFxVhHW_9CEa4OrOGcMRemw3oVSndvaIAyOoQ_WWzzzaCSbqOU9A1qAdm4Rg0ihfepo0aVimylM.&referer=DNS2&f=json
When manually editing the URL above and substituting DNS1 by DNS2, a token can be generated.
My question: how can I get ArcGIS Server manager + the REST directory working over the DNS2 and DNS3 entries? Now it only works when using DNS1. Is it even possible? The fact that I can manually correct the URL that gets the token from Portal, gives me hope that there should be some way to fix this 🙂
Anyone some ideas?
Thanks in advance!
Phil