---
title: Prepare the network
description: Configure the network hosts file to include entries for PingGateway, PingAM, and the sample app
component: pinggateway
version: 2024.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:47:34Z
keywords: ["Install", "Configuration"]
superseded_by: https://docs.pingidentity.com/pinggateway/2026/getting-started/prepare-network.html
---

# Prepare the network

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

1. Add the following entry to your host file:

   * Linux

   * Windows

   ```
   /etc/hosts
   ```

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

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