Platform

Publishing & Custom Domain

Publish a project with one click, use an instant public URL, and optionally connect a custom domain.at master-magic.dev.

How publishing works

After clicking Publish, the project is immediately available at a stable public URL. Optionally, you can assign a nicer managed subdomain or a custom domain — the fallback URL will always remain.

Every published project automatically has a URL in the form of master-magic.cz/p/<projectId>. It is live immediately after publishing.

Publishing

In the editor, click Publish in the top right. The application creates a production build and exposes an immediate public URL.

Versions and rollback

In Cloud → Deployments, you can see the history of all publishes. For each one, you will find the date, commit hash, and Preview / Promote / Rollback options. Rollback is instantaneous.

Custom domain

  1. Open Cloud → Domains.
  2. Click Add domain, enter the domain (e.g., master-magic.cz).
  3. The application will show you the DNS records needed at the registrar.
  4. Set the records at your registrar and click Verify.
  5. Wait for propagation (5–30 minutes, max 24 h) — the certificate will be issued automatically.

DNS records

dns
Type:   A
Name:   @
Value:  <IP shown in Domains settings>
TTL:    3600

If @ already has an A record, edit its value to the value shown in Domains settings. Do not add a CNAME on@; most DNS providers do not allow CNAME and A on the same root host.

dns
Type:   A or CNAME
Name:   www
Value:  same value shown in Domains settings
TTL:    3600

Guides for registrars

  • Wedos — Domains → Detail → DNS → Add record
  • Cloudflare — DNS → Records → Add record (turn off proxy orange cloud!)
  • GoDaddy — My Products → DNS → Add
  • Namecheap — Domain List → Manage → Advanced DNS
If you see Cloudflare Error 1001, your domain is using Cloudflare nameservers without a matching Cloudflare zone. Switch nameservers back to your registrar, then add the records shown above.

SSL certificate

The certificate is automatically issued after DNS verification. It is renewed every 60 days without your intervention. Force-HTTPS is always on.

Apex vs. www

We recommend apex as primary and www as a redirect. Shorter URL, better branding, cookie scope on apex also covers subdomains.

Common problems

  • “Domain not verified" — DNS has not propagated yet. Check via dig or dnschecker.org.
  • SSL handshake fail — check DNS records, wait 15 min, try Verify again.
  • www does not work — missing CNAME record for www.
  • Mixed content — the app loads HTTP resources. Change to HTTPS or relative.