I want to route my.domain.com to the url of my lambda function (which I setup and working via the API Gateway). I can't seem to be able to do this. I also can't seem to be able to to CNAME to anything (so my.domain.com results in a dns error when I CNAME it to domain.com). The normal url (domain.com) is routed to a static S3 bucket and is fine.
The domain was bought on GoDaddy. I changed it so that my GoDaddy Name Servers point to those in a Host Zone which I set up via Route53.
CNAME
issue, have you configured your GoDaddy name servers to point to Amazon Route 53? For example, How to move a domain from Godaddy to AWS Route 53 – Ananias