开发者

Can we setup multiple CNAME records pointing to Azure blob storage?

开发者 https://www.devze.com 2023-03-13 06:28 出处:网络
I have already setup a CNAME for \"storage.mycompany.com\" pointing to my blob storage and it\'s working fine. However, I have a multitenant application and some of my customers would like their own p

I have already setup a CNAME for "storage.mycompany.com" pointing to my blob storage and it's working fine. However, I have a multitenant application and some of my customers would like their own personalized url. They would like "storage.customer1.com" to also point to the same blob storage.

One of my customers configured a CNAME in his DNS (let's say 'storage.xyz.com') pointing to my DNS entry 'storage.mycompany.com' bu开发者_如何学Got it didn't work.

Does anybody know it that's possible?


That won't work because the CNAME is how the storage subsystem knows which tenant to route to (it sees the CNAME). So, without registering that CNAME with blob storage there is no way to tie the two together.


A bit late, but in case anyone else stumbles across this looking for an answer...

If you don't mind spending a bit more money, you can create an Azure CDN for the blob storage. You can then map multiple CNAME records to this CDN endpoint.

If you'd like to see direct support for multiple CNAME records show your interest by voting for the suggestion here: http://feedback.azure.com/forums/34192--general-feedback/suggestions/9026314-map-multiple-cname-records-to-blob-storage

0

精彩评论

暂无评论...
验证码 换一张
取 消