I have a cloud front app with domain xyz123.cloudfront.net
.
This CloudFront is then mapped to domain sub1.mydomain.com
. For this, I followed these steps.
- Added SSL through AWS CloudFront pannel to
*.mydomain.com
- Added
A
Alias
record in Route 53 toxyz123.cloudfront.net
This makes sub1.mydomain.com
work perfectly over SSL.
Now, I want to allow my users to use their own domain (eg sub1.userdomain.com
) to access the app.
This is similar to what UptimeRobot allows in its public status pages.
What I tried, but not working
- Added
CNAME
tosub1.userdomain.com
pointing toxyz123.cloudfront.net
, I get SSL Error - Added
CNAME
tosub1.userdomain.com
pointing tosub1.mydomain.com
, I get SSL Error - Added
CNAME
tosub1.userdomain.com
pointing toxyz123.s3-website.ap-south-1.amazonaws.com
(S3 Static Hosting URL)
Question
- How does UptimeRobot (or GitHub Pages) allow users to add a custom domain to their status page over SSL
- What is the prerequisite to make this happen?