---
title: Preparing the network for PingGateway
description: Configure the network to include hosts for PingGateway, AM, and the sample application. Learn more about hosts files in Hosts (file).
component: pinggateway
version: 2026
page_id: pinggateway:getting-started:prepare-network
canonical_url: https://docs.pingidentity.com/pinggateway/2026/getting-started/prepare-network.html
revdate: 2024-07-10T09:15:32Z
keywords: ["Install", "Configuration"]
---

# 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`
