> ## Documentation Index
> Fetch the complete documentation index at: https://home-app.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Domains

> Reach your services — host ports, Cloudflare Tunnel, or Tailscale Serve and Funnel.

Every service can be reached through one or more **domains** on the
project's Domains tab. Three providers:

## Host port

Publishes `<hostPort>:<containerPort>` in the compose file and redeploys.
One click — pick the service port, pick a host port. Home checks the port is
free first (and tells you which container owns it if not).

* The compose file keeps **one binding per container port**. A second
  domain on the same container port must reuse the same host port — pick a
  different container port, or share the binding through a Tailscale domain.
* Status stays `pending` while the publish redeploy runs, then flips to
  `active` once the binding is verified live — or `error` with the reason.
* Deleting a port domain unpublishes the binding (unless another domain
  still shares it).

## Cloudflare Tunnel

**1. Connect Cloudflare**

Settings → Integrations → Cloudflare. Paste an API token with Tunnel +
DNS permissions; Home detects your tunnel.

**2. Add a domain**

Pick the stack, service and container port, type a hostname on a zone
you own. Home creates the DNS record (proxied, pointing at the tunnel)
and rebuilds the tunnel's ingress rules live.

**3. Check status**

The domain card verifies DNS, ingress and connector health — click
**Check** for a fresh result.

Deleting removes the DNS record and the ingress rule. All domains on one
integration share its single managed tunnel.

## Tailscale Serve & Funnel

With the Tailscale **socket integration** (`tailscaled` on the same host —
zero config, it's auto-detected), a domain becomes a `tailscale serve`
entry: `https://<machine>.<tailnet>.ts.net/<path>` proxying to the service's
host port. Toggle **Funnel** to expose it off-tailnet.

If the service's port isn't published yet, Home adds the compose binding and
redeploys (status `pending` until live).

> [!NOTE]
>
> API-key Tailscale integrations can read status but can't write serve
> config — socket mode is required for domains.

## Status lifecycle

`pending` → publish redeploy running · `active` → verified (binding or
serve entry live) · `error` → check the card for the exact reason. A manual
**Check** re-verifies any domain against reality at any time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.