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

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?