Configure Admin /etc/hosts entry

To initially access Access Gateway, you must add an admin entry to your local hosts file. The location of this file is determined by your operating system:

Operating System File



Windows C:\Windows\System32\drivers\etc\hosts

You need to add an entry to the hosts file that has the following format:

<ip_of_instance> admin

You can determine the IP address of the Access Gateway by following the steps in Show a running configuration.

For example, if your gateway's IP address is, you'd add the entry: admin # Okta Access Gateway admin entry

After adding the admin entry, the Access Gateway Admin UI console should be reachable by navigating to https://admin from a local browser.

The admin entry in the hosts file is only needed for the initial configuration and set up of Access Gateway. When you've completed your configuration, you can remove this entry.