---
title: Preparing the network for PingGateway
description: Configure the network hosts file to include entries for PingGateway, PingAM, and the sample app
component: pinggateway
version: 2025.11
page_id: pinggateway:getting-started:prepare-network
canonical_url: https://docs.pingidentity.com/pinggateway/2026/getting-started/prepare-network.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-06-02T09:37:52Z
keywords: ["Install", "Configuration"]
superseded_by: https://docs.pingidentity.com/pinggateway/2026/getting-started/prepare-network.html
---

# Preparing the network for PingGateway

Configure the network to include hosts for PingGateway, AM, and the sample application. Learn more about hosts files in [Hosts (file)](https://en.wikipedia.org/wiki/Hosts_\(file\)).

Add the following entry to your hosts file:

```none
127.0.0.1  localhost ig.example.com app.example.com am.example.com
```

The hosts file path depends on the platform:

* Linux

  `/etc/hosts`

* Windows

  `%SystemRoot%\system32\drivers\etc\hosts`
