Add admin host entries

To initially access Access Gateway, you must add admin and gw-admin entries to your local hosts file.

  • Under macOS and Linux, this file is /etc/hosts
  • Under Windows, this file is c:\windows\system32\drivers\etc\hosts

These entries have the following formats:

[IP address of instance] admin[IP address of instance] gw-admin[.yourdomain.tld]

For example: # . . . # Example IP address of Okta Access Gateway 192.168.32.129 admin 192.168.32.129 gw-admin.mysite.mycompany.com

After adding these entries to the hosts file, the Access Gateway Admin UI console should be reachable using https://admin from a local browser.

These two entries are used for development purposes only. In production environments, you'd remove the admin entry after initializing the Access Gateway Admin UI console. Additionally, you'd enter the gw-admin entry into DNS. See DNS use.