The ArcGIS Server Services Directory is a RESTful representation of all the services running on your ArcGIS Server site. One of the links in the Services Directory allows you to preview a service in Map Viewer. You can configure the Services Directory so that this link displays the service in your own portal's Map Viewer instead of the ArcGIS.com Map Viewer.
- In a web browser, open the ArcGIS Server Administrator directory and log in with an account that has administrative privileges to the site. The Administrator Directory is typically available through a URL such as http://gisserver.domain.com:6080/arcgis/admin. If your server is federated with the portal, see Accessing the Administrator Directory on a federated server for more guidance on how to log in.
- In the Administrator Directory, click system > handlers > rest > servicesdirectory > edit.
- In the ArcGIS.com URL box, type the URL to your portal's Map Viewer, for example, https://webadaptorhost.domain.com/webadaptorname/home/webmap/viewer.html
- In the ArcGIS.com Map Text box, type a label for your Map Viewer URL, for example, Portal for ArcGIS Map.
- Click Save.