Change URL of items created in ArcGIS Enteprise

734
1
Jump to solution
01-16-2019 05:59 AM
ThomasMathew4
New Contributor II

When items (services, web apps, etc) are created in ArcGIS Enterprise Portal, an URL get assigned to it in the 'Item details' page.

Item details, URL section

The URL domain name which gets automatically assigned cannot be accessed externally. For my deployment, it is preferred that this domain name be replaced by a public ip address.

1) What configuration of ArcGIS Enterprise must be done to ensure all new items (services, web apps, etc) created in ArcGIS Enterprise have an ip address in the URL instead of the domain name?

2) How can the URL of items already published be modified with an ip address in the items details page?

0 Kudos
1 Solution

Accepted Solutions
JonathanQuinn
Esri Frequent Contributor

The item type will determine where it gets the URL from. If you're creating a web app, the URL is generated from the web context URL or web adaptor URL for Portal. If you're creating a hosted or non-hosted service, the URL is generated from the URL you used for the Services URL during federation. Unfortunately, if you used the wrong URLs, there's no built-in mechanism in the software to correct the URLs within the configuration. You can update the URLs for individual items, but new items will always have the incorrect URL.

I'd first confirm that the URLs above are set incorrectly, then you can update them to point to the correct location. This can be done by editing the existing web adaptor or web context URL that's set, unfederating and re-federating the Server, and cleaning up duplicate items that will show up due to the re-federation.

If this is a sandbox/testing environment and you don't have any content you'd like to preserve, you could just rebuild the site so you don't need to clean anything up.

View solution in original post

1 Reply
JonathanQuinn
Esri Frequent Contributor

The item type will determine where it gets the URL from. If you're creating a web app, the URL is generated from the web context URL or web adaptor URL for Portal. If you're creating a hosted or non-hosted service, the URL is generated from the URL you used for the Services URL during federation. Unfortunately, if you used the wrong URLs, there's no built-in mechanism in the software to correct the URLs within the configuration. You can update the URLs for individual items, but new items will always have the incorrect URL.

I'd first confirm that the URLs above are set incorrectly, then you can update them to point to the correct location. This can be done by editing the existing web adaptor or web context URL that's set, unfederating and re-federating the Server, and cleaning up duplicate items that will show up due to the re-federation.

If this is a sandbox/testing environment and you don't have any content you'd like to preserve, you could just rebuild the site so you don't need to clean anything up.