Custom domains

Every workspace’s default site is served at yourusername.sitepaste.com with no setup. On the Pro plan you can connect your own domain, so your site is reachable at an address you own, such as example.com.

Pro includes one custom domain; you can purchase more if you run several sites. Each domain points at one site, and you can move a domain between sites later.

Connecting a domain

From the Domains page in the dashboard:

  1. Add your domain. Adding example.com covers www.example.com as well, since they are set up as a pair.
  2. Verify ownership. Add the TXT record shown in the dashboard (_sitepaste-verify.example.com) at your DNS provider, then click “Verify ownership”.
  3. Point your DNS. Add a CNAME record from your domain to cname.sitepaste.com, then click “Check status”. Some DNS providers do not allow a CNAME on a bare domain like example.com; the dashboard shows what to do for your setup.

DNS changes can take a little while to propagate. Once they have, your site is served at your domain.

When your DNS provider does not allow a CNAME on a bare domain

DNS does not allow a plain CNAME record on a bare domain like example.com. Some providers work around this with CNAME flattening, or with a record they call ALIAS or ANAME, and those work with Sitepaste. Others, GoDaddy among them, offer none of these. With one of those providers you have two choices.

You can use a subdomain such as www.example.com, which takes an ordinary CNAME at any provider.

Or you can move your DNS to Cloudflare, which is free and supports a CNAME on a bare domain. Your domain stays registered where it is, and only the place that answers its DNS changes:

  1. Create a free Cloudflare account and add your domain as a new domain. Do not start a transfer. Cloudflare imports your existing DNS records.
  2. Check that the imported records include everything you rely on, especially the MX records for your email.
  3. If DNSSEC is turned on at your registrar, turn it off first. Otherwise your domain and its email stop working once the nameservers change, until you turn it off. You can turn DNSSEC back on through Cloudflare afterwards.
  4. At your registrar, replace the nameservers with the two Cloudflare gives you.
  5. Once the change has taken effect, which can take up to 24 hours, add the CNAME record for your bare domain in Cloudflare and click “Check status” in the dashboard.

HTTPS

Your custom domain is served over HTTPS with a certificate Sitepaste manages for you. There is nothing to install or renew.

The default address keeps working

Connecting a custom domain does not remove the yourusername.sitepaste.com address for your default site. It keeps working, which is handy while your domain’s DNS is still propagating.