Connect your own domain to a Zorto site hosted on any static hosting provider.

UpdateSet base_url in config
→
DNSAdd records at your registrar
→
WaitDNS propagates (minutes to an hour)
→
LiveHTTPS works automatically

The entire process takes minutes of work, then waiting for DNS propagation.

Update base_url #

Set your production domain in config.toml:

base_url = "https://yourdomain.com"

This ensures all generated URLs (sitemap, feeds, canonical links) point to the correct domain.

Configure DNS #

Add DNS records for your domain. The exact records depend on your hosting provider.

Netlify:

Add a CNAME record pointing your domain to your Netlify site:

TypeNameValue
CNAMEwwwyour-site.netlify.app
A@75.2.60.5

Then add your domain under Site settings > Domain management in Netlify.

GitHub Pages:

Add these records and configure the domain in your repository’s Pages settings:

TypeNameValue
CNAMEwwwusername.github.io
A@185.199.108.153
A@185.199.109.153
A@185.199.110.153
A@185.199.111.153

Create a static/CNAME file containing your domain (e.g. yourdomain.com). Zorto copies it to public/ at build time.

Cloudflare Pages:

Add a CNAME record and configure the custom domain in the Cloudflare Pages dashboard:

TypeNameValue
CNAMEwwwyour-site.pages.dev
CNAME@your-site.pages.dev

Vercel:

Add a CNAME record and configure the domain in Vercel’s project settings:

TypeNameValue
CNAMEwwwcname.vercel-dns.com
A@76.76.21.21

HTTPS #

All major static hosting providers provision TLS certificates automatically for custom domains. No additional configuration is needed — HTTPS works once DNS propagation completes, typically within a few minutes to an hour.