Running a server · How the ledger runs

Connect Your xrpld to a Parallel Network

In plain words

This guide shows how to connect your xrpld server to a test network such as the Testnet or Devnet. Developers use these networks to test apps and try features, and the funds on them are not real funds.

Written by zerps in plain words, from the source linked below.
Section
Infrastructure

What you will do

You change two files, restart the server and check that it syncs. The same steps switch a server back to the production Mainnet afterwards. On test networks with new and experimental features, you may need to run a pre-production release of the server.

Pointing at the network

Edit the xrpld.cfg config file. Set an ips stanza, a named block of settings, with the hub for the network you want. Comment out any earlier one, which means marking its lines so the server ignores them. For Mainnet you leave the stanza out and the default hubs are used. Add a network_id stanza with the value testnet, devnet or main. This setting helps your server find peers on the same network.

The trusted validators

Edit the validators.txt file, which sits in the same folder as xrpld.cfg. Add the validator_list_sites and validator_list_keys stanzas for your network and comment out any previous ones. These settings are what actually define which network the server follows.

Features and restart

Do not use the features stanza when connecting to Mainnet or Testnet. Some test networks with experimental features need a feature enabled there. Then restart the server.

Checking the result

It takes about 5 to 15 minutes to sync after a restart. The server_info method then shows a validated_ledger object. Its seq field should match the one on a public server of the same network, possibly off by one or two.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.