How to access openam from outside the server

Hi All,
I am trying to access openam from outside the server but it is always redirecting to localhost. I have installed it using tomcat and i am able to access tomcat from outside but not openam as it is redirecting to localhost. Inside the server it is working fine. we have hosted Openam in azure server and trying to access it from outside

1 Like

Hi,
It sounds like you installed the product on localhost during the initial setup. You should re-install AM on an FQDN that you can reach from outside the host.
You may also allow for an alias and add that alias as an authorised cookie name.
Set up a realm alias:
https://backstage.forgerock.com/docs/am/7.2/setup-guide/configure-realms-console.html#configure-realm-dns-alias
Add an authorised FQDN (for AM cookies):
https://backstage.forgerock.com/docs/am/7.2/security-guide/changing-cookie-domain.html

You may also follow these instructions:
https://backstage.forgerock.com/docs/am/7.2/maintenance-guide/change-hostname.html

3 Likes