Cloudflare Docs
HTTP Applications
Visit HTTP Applications on GitHub
Set theme to dark (⇧+D)

Test configurations in staging

Once you create a routing rule that applies a version’s settings to Staging, you then need to send test traffic to your staging environment.

To prevent your staging rules from affecting live traffic, these rules are only triggered when requests come in to specific IP addresses.

To trigger staging rules:

  1. When you create or edit a routing rule for Staging, copy the staging IPs listed under Rule Type:

  2. On your device, modify your hosts file to send requests to specific IP addresses.

  3. Go to the hostnames associated with your routing rules and test out your configuration changes.