To point a custom domain to your API endpoint create a CNAME resource record from sub.yourdomain.com to your default domain ...