I have a web app application on app.mywebapp.com
I want users of this app to be able to have a custom domain name
For example docs.theirsite.com
I'm hosting via CloudFront. I have it working but I face 2 issues.
The first is that there is a limit of 100 alternative cnames per cloud distribution. This is not a problem at the moment but hopefully it will be in the future.
The second is that CloudFront only supports one ssl/tls cert per distribution. To provide ssl/tls for multiple domains I need to request a new cert from Certificate Manager with the new domain I want to add. Then update the CloudFront Distribution with this new cert.
I feel like this is not the best way to solve this problem. I would love some advice. Thank you.