> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# Resource Hierarchy

> How organizations, domains, routes, and targets relate to each other in Divertly.

# Overview

There are three primary resources Divertly works with:

* [Domains](/docs/concepts/domains)
* [Routes](/docs/concepts/routes)
* [Targets](/docs/concepts/targets)

Arranged by relationship, they look like this.

![resource hierarchy](file:docs/assets/resource-hierarchy.png "resource hierarchy")

# Resources

## Organizations

At the top is the Organization -- this represents the person or company that owns the account.

Organizations also manage subscriptions, users, and API keys.

[More about Organizations...](/docs/organization/managing-users)

## Domains

Organizations manage Domains. Domains are the fully-qualified domain names that the Divertly platform is set up to use. Organizations can use the shared domain (`dvt.fyi`) or bring their own — see [Subscriptions](/docs/organization/subscriptions) for what's included in your plan.

[More about Domains...](/docs/concepts/domains)

## Routes

Domains manage routes. A Route is the public-facing path after the domain that points to one or many targets. Example: `dvt.fyi/foo` -- `/foo` is the route.

Routes must be unique within a domain.

Routes control how traffic is diverted through the platform, from which target to select, how errors are handled, and which target is the default target.

[More about Routes...](/docs/concepts/routes)

## Targets

A target represents a single destination that a request can be routed to. A target could be a webpage, a YouTube video, a file to download -- anything with a valid URL.

[More about Targets...](/docs/concepts/targets)