I have a multi-tenant web app in Azure that uses subdomains to select the proper user.

Ex:

user1.mydomain.com
user2.mydomain.com
etc.

Everything works fine except when a user decides to enter 'www' in front of their url. My app will support this and redirect them to the proper URL but I can't seem to setup the custom domains on the web app to let the request even hit the app. When they try to enter their url with www, they get the normal Azure 404 Web App not found page.

I currently have a custom domain setup in Azure pointing for 
 \*.mydomain.com. 

How do I need to setup my custom domain in Azure so that it lets www.\*.mydomain.com connect?