memcode docs
Websites

Custom domains

Serve your site at your own domain, with HTTPS set up for you.

Your site always works at its memcode.app address. You can also serve it at a domain you own, like crumbbakery.com or shop.crumbbakery.com.

Add a domain

  1. Open the site, click Site settings in its toolbar, and find Custom domain. It shows the two DNS records to add; type your domain to see them with its names.

  2. At your DNS provider (where you bought the domain, or wherever its DNS is managed), add both records exactly as shown. For a root domain like crumbbakery.com:

    TypeNameValue
    A@the IP address shown in the app
    TXT_memcodethe memcode-verify=… value shown in the app

    For a subdomain like shop.crumbbakery.com:

    TypeNameValue
    CNAMEshopsites.memcode.app
    TXT_memcode.shopthe memcode-verify=… value shown in the app

    Names are relative to your domain, the way most DNS providers ask for them; @ means the domain itself. The first record sends visitors to memcode. The TXT record proves you control the domain.

  3. Back in the app, type the domain if you haven't, and click Verify. DNS changes can take a few minutes to show up; if verification doesn't pass yet, wait and try again.

Once verified, a published site starts serving at the domain.

A site serves one custom domain. To have www.crumbbakery.com work as well as crumbbakery.com, set up a redirect from www to the root at your DNS provider.

HTTPS

You don't need to do anything for HTTPS. When a domain verifies, memcode requests a certificate for it and renews it automatically. The Custom domain section of the site's settings shows its state:

  • Being issued: usually a few minutes, sometimes up to a day after DNS points at memcode. Click Verify to refresh.
  • Active: the site is served over HTTPS at your domain.
  • Failed: the page shows the reason. The usual cause is the A or CNAME record missing or pointing somewhere else. Fix it and verify again.

Moving a domain between sites

Typing a domain into a site only saves it; it doesn't reserve it. The domain belongs to whichever site passes verification, because that site's TXT record is the one in your DNS. To move a domain to another site, add the new site's TXT value at your DNS provider and verify on the new site. The old site stops serving it.

Remove a domain

Click the × next to the domain. The site keeps working at its memcode.app address. If the domain was serving the site, it stops, and its certificate is removed. You can then delete the two DNS records.

On this page