i'm trying to set up a redirect from https://animalcrossingportal.com to https://www.animalcrossingportal.com. The http -> https is already set up automatically with Azure so it's just non www. to www. required. The website is hosted in Azure using blob storage and a CDN with a static website, the domain is hosted on Namecheap and the site is built in VueJS/Nuxt. I've looked up Azure's documentation but it's either unhelpful or obsolete as a lot of their UI has recently been updated.
I've also spoken to their support who link documentation which is either outdated or for sites using App Services/Virtual Machines which I use neither. Does anyone have any suggestions on how this can be done utilising anything mentioned above?
You could use Azure CDN to achieve this. Azure CDN can be used to in Front of Azure Storage. Azure CDN has a Rules Engine which you can use to define certain redirects.
https://learn.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine