Skip to Content
HostingCustom Domains

Custom Domains

Point a domain you own at a hosted project. It serves the same content as the project’s <slug>.yolo.host address and follows the project automatically — every deploy, and every time the project goes offline or comes back. Your domain stays with your registrar and renews there.

Connecting a domain

Open the project in the hosting console, go to its Domains tab, and choose Connect a domain you own. Enter the hostname (for example app.example.com) and choose Connect.

YOLO then shows the DNS records to add at your DNS provider:

RecordPurpose
CNAME <your hostname> → cname.yolo.hostRoutes the domain to your project.
One or more TXT records under Verification (SSL / ownership)Prove you own the domain and let the certificate be issued.

Once the records are in place, the certificate is issued automatically, usually within a few minutes. Routing is set up as soon as you connect, but HTTPS works only after verification completes.

Subdomains and apex domains

A subdomain such as app. or www. works with any DNS provider. A root (apex) domain such as example.com needs a DNS provider that supports CNAME flattening or ALIAS records — Cloudflare and Route 53 both do. On Cloudflare, set the record to DNS only rather than proxied.

www . comes with a root domain

When you connect a root domain such as example.com, YOLO also connects www.example.com and redirects it to example.com, keeping the path and query. You can choose Make www… the main address instead, and then example.com redirects to www.example.com. You can also connect only the hostname you typed. A subdomain such as app.example.com is never paired with a www .

Add www to a domain you already connected

Domains connected before www was offered, or connected with only the root, show Add www on their row in the Domains tab. The Hosting list and the project page also show a banner naming the domains that don’t answer on www. yet. You can dismiss the banner, and it comes back only for domains you connect later.

Add www opens a step-by-step panel:

  1. Choose how www behaves. Redirecting www.example.com to example.com is the default. If you’d rather www.example.com be the main address, choose that option: www is added as a redirect first, and once it’s live the panel offers a one-click switch. That way example.com keeps working the whole time.
  2. Add the record at your DNS provider. The panel shows the record to add with copy buttons: CNAME www → cname.yolo.host. It works out where your DNS is hosted from your domain’s nameservers (“Your DNS is at Cloudflare”) and shows that provider’s steps, with a link to its DNS page. Steps are included for Cloudflare, Namecheap, GoDaddy, Amazon Route 53 and Squarespace, and generic steps for anyone else. Any verification TXT records go in the same place. If someone else manages the domain’s DNS, Copy instructions gives you a plain-text version to send them.
  3. Wait for it to go live. The panel checks on its own and moves from Waiting for DNS to Verifying (the record is in place and the certificate is being issued) to Live. This usually takes a few minutes after you save the record.

You can close the panel at any time. The row then shows each half’s state separately, for example example.com Live and www.example.com → example.com Waiting for DNS. Finish www setup reopens the panel where you left off.

When www already points somewhere else

If www. already has a record, the panel tells you what to change:

What the panel saysWhat to do
www has a CNAME pointing at another hostEdit that record so its target is cname.yolo.host. Don’t add a second one.
The record is proxied (Cloudflare)Open the record and set Proxy status to DNS only (grey cloud). A proxied record hides the CNAME, so the certificate can’t be issued.
www points at another serverDelete the existing A/AAAA record for www, then add the CNAME.

Some providers create a www record for new domains (Namecheap’s parking page, GoDaddy’s www → @, Squarespace’s defaults). Edit or remove that record rather than adding another.

Checking status

Each connected domain has a Check verification status button. The status reads active once the domain is verified and serving; until then the DNS records stay on screen so you can check them. A red status (such as blocked or moved) means verification failed — check the records against your DNS provider.

What can’t be connected

  • Hostnames under yolo.host or workers.dev.
  • A hostname already connected to another project. Each hostname belongs to exactly one project; to change which project it serves, move it (below).

Moving a domain to another project

Choose Move to another project on the domain and pick the destination. The domain keeps serving throughout: no certificate is reissued and no DNS changes are needed. Disconnecting and reconnecting instead would cause downtime while a new certificate is issued.

Moving is done from the hosting console only; agents can’t move domains.

Disconnecting a domain

Choose Disconnect on the domain. It stops serving immediately and its certificate is released; afterwards you can remove the DNS records. The project’s own <slug>.yolo.host address is unaffected.

Doing it with agents

MCP toolWhat it does
domain.addConnect a hostname to a project and return the DNS records to add. Running it again for a connected root domain adds its missing www..
domain.statusCheck a connected domain’s verification and certificate status. For a root domain or its www., the other half is reported separately.
domain.removeDisconnect a domain.

There is no yolo deploy command for custom domains; use the hosting console or these tools.

Last updated on