Use your own domain
On the Team plan your share links, embeds and help hub can live on a subdomain of your own, for example demos.example.com/d/… instead of mado.show/d/…. The demos are the same: the share page, the embed, the oEmbed preview and the hosted help hub all answer on your domain. Analytics keep working as before.
Set it up
- In Studio, open Settings, then Domain, and enter the subdomain you want, such as
demos.example.com. Only owners and admins can do this. - At your DNS provider, add the two records Studio shows:
- a CNAME record from that subdomain to
domains.mado.show, which sends visitors to mado; - a TXT record at
_mado-challenge.followed by your subdomain (fordemos.example.com, the name is_mado-challenge.demos.example.com), with the value Studio shows, which starts withmado-verify=. It proves the domain is yours: many workspaces point at the samedomains.mado.show, so the CNAME alone cannot.
- a CNAME record from that subdomain to
- Back in Studio, press Check. When both records are found the domain shows as verified. The first visit over HTTPS gets a certificate issued automatically; press Check again a minute later and it shows as live.
- From then on, Publish offers links and embed code on your domain. Links you already sent on
mado.showkeep working.
Rules
- A subdomain only. A bare domain such as
example.comcannot hold a CNAME record. - One domain per workspace. To change it, remove it and add the new one.
- Keep the TXT record in place. If a Check later finds it gone, the domain stops serving until it is back.
- When you remove the domain in Studio, delete both DNS records too. A record left pointing at mado does nothing on its own, but it is cleaner, and adding the domain again gives it a new TXT value anyway.
- If another workspace added your subdomain first but never proved it, Studio shows you a TXT value of your own. Add it with the CNAME; after the other claim is 7 days old you can take the domain over. A domain another workspace has proved stays theirs until they remove it.
- Your domain shows only your workspace’s published demos and help hub. Everything else on it answers “not found”.
- If the workspace leaves the Team plan, the domain stops serving. Your demos stay live on
mado.showas the plan allows.
Troubleshooting
- Check says a record is not found. DNS changes can take a while to spread; try again in a few minutes. Make sure each record’s name is relative if your provider adds your domain for you:
demosand_mado-challenge.demos, notdemos.example.com.example.com. Copy the TXT value exactly, without extra words. - Cloudflare. Set the record to “DNS only” (grey cloud). With the proxy on, the record no longer points at mado and the certificate cannot be issued.
- Verified but not live. The certificate is issued on the first HTTPS visit. Open
https://your-subdomain/d/your-demoonce, wait a minute, then press Check again. - A CAA record on your domain. If you have one, it must allow
letsencrypt.org. - Password-protected demos work on your domain the same way: the visitor types the password once on that domain. Embeds of a password-protected demo are not available on any domain.