Azure CDN for cloud services requests redirected to <myapp> .cloudapp.net instead of my custom hostname binding
As mentioned in the title above, I have a cloud service with a web browser that launches the web application www.myappname.com. I took all the necessary steps to enable CDN content maintenance from my application using the URL rewrite module in IIS. This works fine, but:
- Requests coming from the CDN are redirected to .cloudapp.net instead of my custom hostname binding. I cannot find places to change this in my configuration. When I create a new CDN endpoint, my settings for installing ORIGIN DOMAIN are limited to my cloud service endpoints.
- Say I got a custom domain name for the CDN endpoint of my cloud service (e.g. static.appnamecdn.com). What happens when I make a request using https? I do not see a place to register the ssl certificate static.appnamecdn.com. Isn't it required?
+6
2 answers
From the help icon on the CDN Endpoint Creation screen (Azure Management Portal), I got the answer to the second point above:
If you decide to enable HTTPS for your CDN endpoint, keep the following points in mind:
- You must use the certificate provided by the CDN. Third-party certificates are not supported.
- You must use the CDN domain to access the content. HTTPS support is not available for user domain names (CNAMEs) because CDNs do not currently support user certificates.
- HTTPS only from CDN to client. CDN requests to the content provider (storage account or hosting service) are still made using HTTP.
0