Select to view content in your preferred language

Some internal URLs redirect to public URL

355
3
02-26-2025 09:02 AM
CarstenHogertz
Emerging Contributor

Hello everyone,

I am running ArcGIS Enterprise 10.9.1.


I think it seems to be misconfigured somewhere. I notice a strange behavior regarding redirects.

The server and the portal have a public URL. However, some work also needs to be done in the backend and I keep running into a problem with the different endpoints:


If I call up the following URLs, the redirects URL always remain with the backend URLs:

https://<FQDN>:7443/arcgis/home/
https://<FQDN>:7443/arcgis/portaladmin/
https://<FQDN>:7443/arcgis/sharing/rest
https://<FQDN>:6443/arcgis/admin/login
-> never a redirect to the public URL. Important: even the portal login screen in this cases is called up with the backend URL. Everything is great!

What I don't understand is the behavior with the following URLs:

https://<FQDN>:6443/arcgis/rest/services/
If I open publicly available services, the backend URL remains. However, if I open a secured service, the login screen is called via the public URL.

https://<FQDN>:6443/arcgis/manager/
Here, I am redirected to the public URL of the portal login screen immediately after opening it.

Is this normal behavior? Is something configured incorrectly in the AGS? If I call up the login screen via 7443, the backend URL is also used. Why when coming from 6443 I am redirected to the publich URL?

The whole thing is problematic in the sense that the backend cannot call up a URL from the public web.

Many thanks for your help!

Tags (2)
0 Kudos
3 Replies
DavidCrosby
Esri Contributor

Have you set the webcontexturl in the Portal?  This post might be helpful to understand how it works.

0 Kudos
CarstenHogertz
Emerging Contributor

I have. The WebContextURL was first set when installing and configuring the ArcGIS Enterprise.

Maybe happens because the privatePortalUrl is set to the public URL. Did that because in our HA deployment no internal LB was set up. Is it possible to change privatePortalUrl later or does that effect my deployment negatively?

0 Kudos
DavidCrosby
Esri Contributor

This post might have some context for you and does link to the steps to update the privatePortalUrl.  Wondering though why you want to use the 7443 URLs rather than the public DNS one?  

Change privatePortalUrl