How to put a site your agent made on your own domain

Add the domain on the app's Domains tab, set a CNAME to domains.host0.app and one TXT record, and it goes live with HTTPS. Tested, with registrar steps.

A dim address bar reading example-bakery.host0.app with an arrow to a large bright one reading www.example-bakery.com. Below, a DNS panel for example-bakery.com marked Live, with two records: CNAME www to domains.host0.app, and TXT _host0.www with host0-verify=…. At the bottom, the title 'How to put a site your agent made on your own domain' and three numbers: 2 DNS records to add, ~75 s to a certificate in our one live test, and 1 · 5 domains on Starter · Pro.
On this page

To put a site your agent made on your own domain, add the hostname on the app's Domains tab in host0 (or ask your agent to), then add two DNS records where your domain is managed: a CNAME from the hostname to domains.host0.app and a TXT record at _host0.<hostname> that proves it's yours. Once both check out, host0 gets the certificate and the site answers on your domain over HTTPS. The docs say that usually takes a few minutes; in our one live test, the certificate came about 75 seconds after the TXT record passed.

This guide is for people who already have a host0 link, something like k3x9q2m7ta.host0.app, and want it at www.yourbakery.com instead. It walks through every screen, says what to type at five DNS providers, and is honest about the one thing that doesn't work yet: a bare root domain with a plain CNAME. Our example uses example-bakery.com, a made-up name nobody has registered.

2

DNS records to add: a CNAME and a TXT

Source: host0 docs

~75 s

From the TXT record passing to a certificate, in our one live test

5 Nov 2026; not a guarantee

Source: host0 live test, 5 Nov 2026

1 · 5

Custom domains per account on Starter · Pro

Source: host0 docs: plans

30 days

Before a domain that never verifies is cleared

Source: host0 docs

The short version

  1. 1
    Two records, one place. A CNAME from your hostname to domains.host0.app, and a TXT at _host0.<hostname> with a value host0 gives you. Both go wherever your domain's DNS is managed, which is usually your registrar.
  2. 2
    Use a subdomain. www.example-bakery.com or shop.example-bakery.com works with any DNS provider. A root domain like example-bakery.com needs a provider that can flatten a CNAME (ALIAS or ANAME), and we haven't tested that route.
  3. 3
    Turn the proxy off. On Cloudflare, set the CNAME to DNS only (the grey cloud). host0's own error message asks for any proxy on that record to be off.
  4. 4
    You can't break it by checking early. "Check now" before the records exist just tells you which record is missing, in plain words. The tab keeps checking by itself while it's open.
  5. 5
    Nothing else changes. The host0.app address keeps working, private apps still ask people to sign in, and shared data and analytics carry on.
  6. 6
    It's on the paid plans. One custom domain per account on Starter, five on Pro. Your agent can do the whole thing with the host0 CLI or the MCP server, except adding the records, which only you can.

What you need#

  • A site on host0. Anything your agent published with the host0 skill, or anything you dropped on the share an HTML file page.
  • A domain you control. You need to be able to add DNS records for it. That's usually at the registrar you bought it from, unless you moved its nameservers somewhere else (Cloudflare, say): then the records go there.
  • A plan with custom domains. Custom domains are on the paid plans: one per account on Starter ($9 a month) and five on Pro ($19 a month). New accounts start with a 7-day free trial, and the domain works during the trial. The "Hosted on host0" badge stays on until the first real payment (pricing, plans in the docs).

A domain counts toward your plan from the moment you add it, even before it's live. On Starter, with one domain already added, a second gets a clear "no":

Starter, at its one-domain limit

The Domains tab of an app on a Starter account. The field holds shop.example-bakery.com, and under it in red: “You have 1 custom domain, the most your plan allows. Remove one you no longer need first.” with an “Upgrade to Pro” link. Below, www.example-bakery.com is “Waiting for DNS” with its CNAME and TXT records.

The pending www domain already counts, so adding shop.example-bakery.com is refused until you remove one or move to Pro.

Source: host0 dashboard, local test build, 29 Nov 2026

How to put your site on your own domain#

Step 1: Open the app's Domains tab and type the hostname#

In your dashboard, open the app and go to Domains. Type the full hostname you want, including the subdomain: www.example-bakery.com, not example-bakery.com. The hint under the field says it plainly: "A subdomain is easiest." Then click Add domain.

The Domains tab

The Example Bakery app in the host0 dashboard, at example-bakery.host0.app, Anyone with the link. The Domains tab is open on a “Custom domains” card: “Open this app on a domain you own, like blog.acme.com. example-bakery.host0.app keeps working too.” The field holds www.example-bakery.com next to an “Add domain” button, with the hint “A subdomain is easiest. You'll get two DNS records to add where your domain is managed.”

Type the whole hostname. The app's host0.app address keeps working whatever you add here.

Source: host0 dashboard, local test build, 29 Nov 2026

Step 2: Copy the two records host0 shows you#

The domain appears as Waiting for DNS, with the two records to add and a copy button next to each value:

The two records

The Domains tab after adding www.example-bakery.com, marked “Waiting for DNS”, with Check now and Remove buttons and the line “Add these two records where your domain is managed. We keep checking while this page is open.” A table: CNAME, name www, value domains.host0.app; TXT, name _host0.www, value host0-verify= followed by 32 hex characters. Under it: “Your DNS provider adds example-bakery.com to the name for you. If yours asks for the full name, use www.example-bakery.com and _host0.www.example-bakery.com.”

Names are shown the way most DNS providers want them, without your domain on the end. The TXT value is different for every domain you add.

Source: host0 dashboard, local test build, 29 Nov 2026

  • CNAME, name www, value domains.host0.app.
  • TXT, name _host0.www, value host0-verify= followed by 32 characters, copied from your tab.

The CNAME sends visitors to host0. The TXT proves you control the domain's DNS, and it exists for a reason: a CNAME on its own would let anyone who once pointed a hostname at host0, and forgot to remove the record, have it claimed by someone else's app. Copy the TXT value from your own tab every time; it's unique to that domain, and it changes if the domain ever goes back to waiting.

Step 3: Add the records where your domain is managed#

Sign in wherever your domain's DNS lives, find its DNS records, and add both. Two rules hold almost everywhere:

  • Type the name relative to your domain. www and _host0.www, not the full www.example-bakery.com; most providers add the domain for you. If yours wants the full name, the tab gives it to you.
  • Leave any proxy off. If your provider can proxy a record (Cloudflare's orange cloud), set the CNAME to DNS only.

Provider by provider, with their menu names, is in the next section.

Step 4: Check, and read what's missing#

The tab checks on its own about every 15 seconds while it's open, and Check now checks straight away. Check before the records exist, or before they've spread, and nothing breaks: the domain stays waiting and tells you exactly which record it couldn't find.

Checking before the records exist

The www.example-bakery.com card, still “Waiting for DNS”, after Check now. A warning reads: “No TXT record at _host0.www.example-bakery.com yet — add TXT _host0.www.example-bakery.com with the value host0-verify=… No CNAME at www.example-bakery.com yet — add CNAME www.example-bakery.com pointing to domains.host0.app, with any proxy on that record turned off. DNS can take a few minutes to show up, so check again if you just added them.” The two records follow.

host0 names each missing record, what to set, and the proxy rule. It's the same message your agent gets back in last_error.

Source: host0 dashboard, local test build, 29 Nov 2026

DNS changes take a while to be visible everywhere. Namecheap tells its customers to wait about 30 minutes after saving a record; others don't give a number. If a check fails right after you saved the records, give it a few minutes before changing anything.

Step 5: Wait for Live#

When both records check out, the domain moves on to the certificate and then to Live. Only a live domain serves the site. There's nothing to do for the certificate: host0 requests it and it's issued for you. In our one live test, on 5 November 2026, that took about 75 seconds from the TXT record passing.

Live

The www.example-bakery.com card marked “Live”, with a link to www.example-bakery.com and the line “example-bakery.host0.app keeps working too.” and a Remove button.

The domain links to the site, and the host0.app address keeps working alongside it.

Source: host0 dashboard, local test build, 29 Nov 2026

Step 6: Open your site on your domain#

That's it: the same files, now at your address. Plain http:// links redirect to https://. On a paid plan after its first payment there's no "Hosted on host0" badge, so nothing on the page says where it's hosted.

The bakery site, served on its own domain

A one-page bakery site on a cream background: “Example Bakery”, “Sourdough, rye and morning buns. Baked daily.”, and a price list: Country sourdough $7, Seeded rye $8, Cardamom bun $4. No host0 badge anywhere on the page.

The page as served on www.example-bakery.com in our test, on a Pro account: no badge.

Source: host0 local test build, 29 Nov 2026

Where to add the records#

Every provider asks for the same three things (type, name, value) under slightly different words. What each one's own help pages said when we checked on 29 November 2026:

  • Cloudflare. In the dashboard, open your domain, then DNS → Records → Add record; pick the type, fill in the fields and save (Cloudflare docs). For the CNAME, set the proxy status to DNS only, the grey cloud. Cloudflare's own docs say that "CNAME records that prove your domain ownership should not be proxied" (proxy status). TXT records have no proxy setting.
  • Namecheap. Domain List → Manage next to the domain → Advanced DNS → Add New Record under Host Records, then save. In Host, type only www (or _host0.www for the TXT): Namecheap adds the domain itself. Remove any other record on the same host first, such as a URL redirect or an A record (Namecheap: CNAME, TXT).
  • Squarespace Domains (where Google Domains went). Open the domain, then DNS → DNS Settings → Custom Records → Add record; it asks for your password again. Enter the prefix only (www, _host0.www): Squarespace adds the domain (Squarespace: TXT records, web hosting records).
  • Porkbun. Account → Domain Management → DNS under the domain → Add Record; set Type, Host, Answer and TTL, then Add. Host is the subdomain only; Porkbun notes that a CNAME's host "cannot be left empty" (Porkbun KB).
  • GoDaddy. See GoDaddy's help on adding a CNAME record and adding a TXT record. Its pages refused our automated requests, so we haven't checked its steps and don't repeat them here.

If your domain uses another company's nameservers (you moved it to Cloudflare, for instance), add the records there, not at the registrar. Porkbun and Squarespace both say so in the pages above.

Root domains like example-bakery.com#

A bare root domain, sometimes called the apex, can't have a normal CNAME record, so the two-record setup above doesn't work on it as written. host0 doesn't have a fixed IP address you could point an A record at yet either. You have two options:

  1. Use www and redirect the root to it. Add www.example-bakery.com to host0, then set the root to redirect to https://www.example-bakery.com with your registrar's redirect or forwarding setting, if it has one. This is what host0's own tab suggests: "Use www with a redirect at your registrar".
  2. Use a provider that flattens a CNAME. Some DNS providers can put a CNAME-like record on the root, under names such as ALIAS, ANAME or CNAME flattening. host0 lets you add a root domain for this case, with a note recommending www or such a provider, and checks it on the TXT record. We haven't tested it live, though, so treat it as "may work" and fall back to option 1 if it doesn't.

Wildcards like *.example-bakery.com aren't supported.

Doing it from your agent#

Your agent can do every step except adding the DNS records, which need your login at your DNS provider. Ask it in plain words:

Prompt
Put my Example Bakery app on www.example-bakery.com with host0. Show me the DNS records to add, then check them once I say I've added them.

The host0 skill tells the agent how: it adds the domain, shows you the two records exactly as host0 returned them, and after you've added them, checks until the domain is live. It's told never to say the domain is live before host0 does, and to always show the records from host0's latest answer, never ones it remembers. With the host0 CLI (npm i -g @host0/cli), the commands are:

Terminal
host0 domains add example-bakery www.example-bakery.com     # prints the two DNS records
host0 domains verify example-bakery www.example-bakery.com  # after the records are set; run again until active
host0 domains rm example-bakery www.example-bakery.com

host0 domains example-bakery lists an app's domains, and every command takes --json. Without the CLI, the same steps are REST calls: POST /api/v1/apps/{app}/domains with {"hostname": "www.example-bakery.com"}, then POST /api/v1/apps/{app}/domains/{hostname}/verify (docs). The add answers with the records to set:

JSON
{
  "hostname": "blog.example-bakery.com",
  "status": "pending",
  "dns_records": [
    { "type": "CNAME", "name": "blog.example-bakery.com", "value": "domains.host0.app" },
    { "type": "TXT", "name": "_host0.blog.example-bakery.com", "value": "host0-verify=cb41a5dc1601161ece7062441b39ebac" }
  ],
  "apex": false,
  "note": null,
  "last_error": null
}

(A real answer from our test, trimmed; the API gives full names, the dashboard short ones.) A failed check isn't an error status: it answers 200 with the reason in last_error, the same text as on the tab. The status goes pending → provisioning → active.

In a chat app such as Claude or ChatGPT, the host0 MCP server has four tools for this: list_domains, add_domain, verify_domain and remove_domain. "Put the portfolio on www.sam.dev" and, later, "I added the records, check them" are the two requests they're built for. The MCP server manages apps but never publishes them, so you'll need the site on host0 first.

What changes once it's live#

  • Your host0.app address keeps working. Old links don't break.
  • Search engines see one copy. If the app is public on the web, it's indexed on your custom domain (the oldest one, if you have several), and its host0.app address points search engines there with a canonical link and a noindex. An app open to anyone with the link, or private, stays unindexed on every address.
  • Private stays private. A private app asks people to sign in on your domain too, and invites decide who gets in. Each address has its own sign-in, so someone who signed in on the host0.app address signs in once more on your domain. Removing someone's access still cuts them off on both. The private sharing guide covers how that works.
  • Shared data and analytics carry on. An app with a shared database reads and writes it on your domain with no change to its code, because it uses relative addresses, and the app's analytics count visits on your domain too.

Owning the address is also what keeps a link alive when you change hosts. In our count of 5,942 app links posted on Hacker News, the only Glitch apps that still opened were the ones whose owners had redirected them to a new host.

Removing a domain, and changing plans#

Remove on the domain's card asks first, then takes it off straight away:

Removing a domain

A confirmation dialog: “Remove www.example-bakery.com? The app stops opening on it right away. example-bakery.host0.app keeps working. To use this domain again, you'd add and verify it again.” with Cancel and “Remove domain” buttons.

The app stops answering on the domain at once; its host0.app address is untouched. Your DNS records stay where you set them, so delete them at your provider too if you're done with them.

Source: host0 dashboard, local test build, 29 Nov 2026

To move a domain from one of your apps to another, remove it from the first and add it to the second. If you try to add it to the second while it's still on the first, host0 answers domain_taken and names the app that has it.

Changing plans never takes a live domain offline. Move to a plan with fewer domains, or an older account drops back to the free plan, and your live domains keep serving; you just can't add or verify new ones until you're under the limit. Ending your plan altogether is different: a newer account with no plan keeps its apps online for 7 more days, then they're paused, domains included, until a plan starts again (docs). An older account still on the free plan sees the tab like this:

The Domains tab without a paid plan

The Domains tab of an app on a free account: a blurred preview of two domains behind a card with a lock icon, “Use your own domain. Starter and Pro put this app on a domain you own, like blog.acme.com. We handle the certificate, and its host0 address keeps working.” and an “Upgrade to Pro” button.

Starter and Pro both include custom domains. Over the API, adding a domain without one answers 403 domain_limit_reached with an upgrade link.

Source: host0 dashboard, local test build, 29 Nov 2026

When a domain stops working#

A domain goes back to Waiting for DNS, with a new TXT value, in three cases:

  • Its CNAME was moved away from domains.host0.app, at your provider or by whoever runs your DNS.
  • The certificate wasn't issued within 7 days.
  • Someone else proved control of its DNS. A domain follows whoever controls its DNS. If another host0 account adds your hostname and sets its own TXT value, which only someone with access to your DNS can do, the domain moves to their app, and you get an email saying which domain, which of your apps, and when. To take it back, set the new TXT value from your tab and check again.

Since the TXT value changes, always copy it from the tab again rather than reusing the old one. A domain that's added but never verified is cleared after 30 days.

How other hosts do it#

The same job, as each host's documentation described it on 29 November 2026:

  • Vercel. Add the domain under the project's Settings → Domains. A subdomain gets a CNAME with a value unique to the project (Vercel's example is d1d4fc829fe7bc7c.vercel-dns-017.com); a root domain gets an A record. A TXT record at _vercel is needed only if the domain is in use by another Vercel account. Hobby teams can have up to 50 custom domains per project (Vercel docs).
  • Netlify. A subdomain gets a CNAME to site-name.netlify.app. A root domain gets an ALIAS, ANAME or flattened CNAME to apex-loadbalancer.netlify.com where the provider supports it, otherwise an A record to 75.2.60.5. Netlify warns that DNS updates can take up to 48 hours (Netlify docs).
  • GitHub Pages. www gets a CNAME to <user>.github.io; the root gets four A records (or an ALIAS or ANAME). GitHub says to verify the domain and add it to the repository before you change DNS, so nobody else can take it over, and that DNS changes can take up to 24 hours. It's free (GitHub docs).
  • tiiny.host. Custom domains come with its Solo plan, about $13 a month, according to tiiny.host's own comparison post from 18 June 2026; its Free and Tiny plans don't list them.

The honest difference: Vercel, Netlify and GitHub Pages all take root domains with A records, and host0 doesn't yet, so use www there. If price is all that matters and the site is public, GitHub Pages and Cloudflare Pages are free with a custom domain, as our guide to sharing an HTML file covers. host0's TXT record plays the same role as Vercel's _vercel one, except it's asked for every time.

FAQ#

Can I use my root domain, like example-bakery.com?#

Not with a plain CNAME. Use www.example-bakery.com and set your registrar to redirect the root domain to it. A DNS provider that can flatten a CNAME (ALIAS or ANAME records) may let the root work directly, but we haven't tested that.

How long does it take?#

Usually a few minutes once the records are visible. In our one live test, the certificate was issued about 75 seconds after the TXT record passed. DNS itself can take longer to spread: Namecheap suggests waiting about 30 minutes after saving a record.

Do I need to buy a certificate or set up HTTPS?#

No. host0 gets the certificate for you once the records check out, and plain http links redirect to https.

Should the Cloudflare cloud be orange or grey?#

Grey, DNS only. host0 asks for any proxy on the CNAME to be turned off, and Cloudflare's docs say CNAME records that prove domain ownership shouldn't be proxied. We haven't tested a proxied record.

Does my host0.app address stop working?#

No. It keeps working and keeps serving the same site. If the app is public on the web, it tells search engines that your domain is the main address.

How many domains can I add?#

One per account on Starter and five on Pro, counted across all your apps. A domain counts as soon as you add it, even while it's waiting for DNS.

Can my agent do this for me?#

Yes, apart from adding the DNS records, which needs your login at your DNS provider. With the host0 skill or CLI it runs host0 domains add and host0 domains verify; in a chat app, the host0 MCP server has add_domain and verify_domain tools.

What happens if I downgrade or cancel?#

On a downgrade, live domains keep serving. You can't add or verify new ones beyond your plan's limit, and on a plan without custom domains you can't add any. If you cancel and are left with no plan at all, your apps stay online for 7 more days and are then paused until a plan starts again; the apps and their data are kept.

Will people still have to sign in to a private app?#

Yes. Private apps ask people to sign in on your domain too, and only the people you've invited get in.

How we tested this#

We ran the walkthrough on 29 November 2026 on a local build of host0 (its development server), as three throwaway test accounts on Pro, Starter and the free plan. The DNS and the certificate were simulated the way host0's own browser tests do it, so in our screenshots a domain went from waiting to live as soon as we pressed Check now; real timings depend on your DNS provider and the certificate. The local build serves apps on a local address, so the dashboard text in the screenshots was changed to show production's <slug>.host0.app form in its place; nothing else was edited. example-bakery.com isn't a registered domain. The headers we read locally (the canonical link and noindex on the slug, noindex everywhere on a link-only app) match the docs; that a public app is indexed on its custom domain we take from the docs and from host0's production test.

The 75-second figure comes from that single production test, on 5 November 2026, when custom domains launched: a subdomain of a domain we own was added, the records were set, and the certificate was issued about 75 seconds after the TXT record passed. A private app on the same domain asked for sign-in, let an invited account in, and shut it out as soon as the invite was removed. It's one test, not a promise.

Provider steps come from each provider's help pages, read on 29 November 2026, except GoDaddy's, which refused our requests. Plan details are from the pricing page and docs.

host0 exists for this last step: whatever your agent made, a link you can share, and now one on your own domain. The full reference is in the docs.

GuidesHostingDomains