How can I point friendly name "domainname\foldername" to "storage.file.core.windows.net\foldername"?

Harshit Z Kothari 0 Reputation points
2024-06-07T14:01:50.14+00:00

I have a storage account and a file share called "foldername". The original endpoint will be too long and looks like "\\storagename.file.core.windows.net/foldername". I have added this fileshare in to domain and my VMs, and now I want to use a friendly name like "\\domainname\foldername". How can I do that and how many ways of doing that?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,209 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 44,891 Reputation points Microsoft Employee
    2024-06-10T05:56:52.46+00:00

    @Harshit Z Kothari Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    This isn't possible!

    You can consider this approach, but I haven't personally repro the issue, so you may give a try. Use a DNS CNAME record to redirect the old share name to the new Azure file share path. However, this requires changes to be made on the on-premises DNS server.
    Use a custom domain name: You can use a custom domain name for your storage account and file share. To do this, you need to create a custom domain name in Azure and map it to your storage account. Once the custom domain name is set up, you can use it instead of the original endpoint.

    Naming and referencing shares, directories, files, and metadata

    Please let us know if you have any further queries. I’m happy to assist you further.    


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments