it seems that it works only on Azure VM adding record on hosts file, but not on VM on-prem
Azure private endpoint with cname on storage account
Hello guys,
can I use an alias CNAME to access on private endpoint linked to an Azure File Share storage?
My aim is using \\cname01 from PC instead of storagename.file.core.windows.net, I've tried to create an alias CNAME on my DNS on prem server but the authentication with user/pass fails, while using fqdn private endpoint it works.
Maybe cname is not supported?
thanks
Andrew
2 answers
Sort by: Most helpful
-
-
ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
2024-07-31T21:34:24.58+00:00 Thank you for reaching out.
Based on your response above, I understand you updated the host file and the DNS resolution working correctly in Azure but you still facing issues from your on-prem.
This is actually a not supported scenario as you cannot add a custom domain to Azure File Share storage. When you add a CNAME record this would fail because the Server Name Indication (SNI) on TLS Request will fail.
Hope this helps! Please let me know if you have any additional questions. Thank you!
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.