Adding your custom domain to Bear
In the Bear dashboard, add the domain (including the subdomain) to the
custom_domain field in the header.
Adding DNS records
Once you have a domain registered with a domain registrar, add the following DNS record on in your DNS editor:
If you want the blog on a subdomain (eg: https://blog.example.com), substitute the @ for blog.
If you are using Cloudflare, ensure the proxy (the orange cloud) is turned off.
Problems setting a root CNAME
If you're having an issue setting a CNAME record for @ (some DNS providers have this issue) you can instead set up the following A record:
It is preferable to use a CNAME* record if your provider support it, as it is dynamic and handles both IPv4 and IPv6 under the hood.
Validating your custom domain
Go to your custom domain. It should show. If you receive an SSL error on your first load, reload the page. It is likely that your SSL certificate is being issued.
Note that DNS records can sometimes take a few minutes to propagate. You can check your DNS record propagation with DNS Checker
If you are having serious problems setting up your DNS records, you can email me with a screenshot of your records and a description of the problem.