Recommended method. It's easier and more reliable. Go to your domain registrar's DNS settings and create a CNAME record with the following details.
@ for example.com or
blog for blog.example.com
Voila! Your blog is now available at your custom domain.
If you are using Cloudflare for your domain, use one of the following options.
(Recommended) Turn on the proxy (Orange Cloud) and set the Encryption Mode to Full or Full (Strict). This will enable the Cloudflare global CDN for your blog for better caching and performance.
Turn off the proxy (Gray Cloud)
If your blog with custom domain is loading infinitely or returning any other errors codes, please check the following.
Make sure you do not have any other A or AAAA records with the same hostname as your custom domain.
If you have set up CAA records for your domain, make sure you have allowed ZeroSSL to issue certificates for your domain (see this guide). HOWEVER, please note that in the event of a change in our certificate provider, you may need to update your CAA records accordingly. Therefore, if possible, we recommend not to use CAA records for your domain.