Skip to navigation

Multiple Mirrors

Spread traffic across several destinations serving the same content.
View as Markdown

If you publish the same content in more than one place — mirrored downloads, regional copies of a file, redundant CDNs — point a single route at all of them, and let Divertly decide which one each visitor lands on.

Set it up

  1. Create a route for the link you want to share, with a Targeting Strategy of Weighted or Random.
  2. Add a target for each mirror, pointing at its URL.
  3. If you chose Weighted, set each target’s Weight relative to how much traffic you want it to receive. Equal weights split traffic evenly; a target with double the weight of another gets double the traffic.
  4. If you chose Random, skip weights entirely — traffic spreads roughly evenly across every enabled target over time.

Take a mirror out of rotation

Disable its target rather than deleting it, if you expect to bring it back later. Traffic stops going there immediately, and its configuration — URL, weight — is preserved for when you re-enable it.

Repoint a mirror

Edit the target’s URL directly. Because the route itself doesn’t change, anyone who already has the link keeps using it — only where it points changes.