# Custom domain (https://talivia.com/docs/self-hosting/custom-domain)



Talivia works immediately at the workers.dev address printed by the installer. A custom domain is optional.

## Add a dashboard domain [#add-a-dashboard-domain]

1. Add your domain to the same Cloudflare account and make sure its zone is active.
2. In Cloudflare, open **Workers & Pages** and select your Talivia Worker.
3. Open **Settings → Domains & Routes**, choose **Add → Custom Domain** and enter an address such as `analytics.example.com`.
4. Complete Cloudflare's setup and wait for the domain and certificate to become active.
5. Open the new address and sign in with your owner email and password.

Cloudflare's [Custom Domains guide](https://developers.cloudflare.com/workers/configuration/routing/custom-domains/) explains its domain requirements and DNS handling.

## Update your tracking code [#update-your-tracking-code]

Open website settings in your dashboard at the new address and copy the tracking code it provides. Confirm that the tracking endpoint uses your intended application address. Update connected payment webhook URLs if you previously configured them with the workers.dev address.

Keep the original workers.dev address until you have verified the new address and incoming events. The installer's optional **Website domain** question describes a tracked website; it does not register a custom dashboard domain.
