I am running Portal for ARCGIS 10.6 on a federated, hosting server. For some reason when I log into the portal, the domain name in the url changes to the machine name and cannot find the page. Once I repair the url back to the domain name, the login goes through and the home page comes up. How can I fix the url re-direct, so it does not pick up the machine name?
We are using the webadaptor.
I type in: https://domain name/webadaptor name
When it comes up, I sign in, and it tries to direct me to https://machine name/webadaptor name
This gives me an error. I fix the url back to //domain name/webadaptor name and it goes through to the portal organization page.
If you were to sign into the Portaladmin API and go to System > Web Adaptors > WebAdaptor ID, does the URL listed there match the URL you're using to reach the Portal?
I'm assuming it doesn't. The URL you use to reach the Web Adaptor registration page is the URL that is set for the Portal, so if you have an alias on the machine, it may pick up the wrong one depending on the URL you use. Append /edit to the URL and then update the Web Adaptor URL to point to the correct URL if it's incorrect.
Just type /edit at the end of the URL:
It's a hidden resource.
I've had an issue similar to this, except the URL would change to the machine name only under certain circumstances. The solution we found was to modify the web context URL as shown here.