We're looking to move our website/app assets to a CDN. The problem is, our CDN doesn't offer custom domain names with SSL. In other words, for SSL they offer https://1234.cdn.hostingcompany.com
but not https://assets.mysite.com
.
So this seems like a huge problem since I don't want to re-publish my app with their domain hard coded.
So I read somewhere about a method where you send people to https://assets.mysite.com
then redirect to https://1234.cdn.hostingcompany.com
.
Is there merit to that solution or would that completely defeat the purpose of the CDN.