I am setting up domain for arcgis portal like arcgisportal.example.com but when I am hitting https://arcgisportal.example.com/ redirecting to IP address but when I am hitting https://arcgisportal.example.com/arcgis/home it works fine.
How to setup default path to whenever domain hit up.
If you want to redirect traffic from the root of the domain to the Portal for ArcGIS homepage you'll need to set this up in the front-end web server.
Here's some relevant documentation for IIS: https://learn.microsoft.com/en-us/iis/configuration/system.webserver/httpredirect/
I used the following configuration and it seemed to be effective for my ArcGIS Enterprise deployment:
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.