Portal login returns machine name

2254
7
07-17-2018 09:13 AM
DianeBird
New Contributor III

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?

Tags (1)
0 Kudos
7 Replies
JonathanQuinn
Esri Notable Contributor

Are you using the web adaptor or your own reverse proxy, like Apache or Nginx?

0 Kudos
DianeBird
New Contributor III

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.

0 Kudos
JonathanQuinn
Esri Notable Contributor

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.

0 Kudos
DianeBird
New Contributor III

It doesn’t match. It is picking up the machine name in the URL.

I don’t see an option to Append/edit this URL here. I only see “Unregister Web Adaptor”.

0 Kudos
JonathanQuinn
Esri Notable Contributor
0 Kudos
DianeBird
New Contributor III

That worked! Sneaky little tricks!

Thank you.

0 Kudos
RyanUthoff
Occasional Contributor III

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.

Configure your portal to use a reverse proxy server—Portal for ArcGIS (10.6) | ArcGIS Enterprise 

0 Kudos