How to add a custom domain to a serverless API

Link to chapter — https://serverless-stack.com/examples/how-to-add-a-custom-domain-to-a-serverless-api.html