Hello @Martin Diaz ,
You can use Azure DNS alias records to access the website without prepending "www" to your DNS name.
An alias record set is supported for the following record types in an Azure DNS zone:
For example, if your website is named www.contoso.com, your users can access your site using contoso.com without the need to prepend www to the DNS name.
Please refer : https://learn.microsoft.com/en-us/azure/dns/dns-alias
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.