Support HTTP redirect records in Azure DNS
We have added this feature to our long term backlog. However, it is unlikely to be available in the near future.
Just a suggestion to make this 'less weird' because DNS should not technically do HTTP redirection. Maybe you should create a new Azure Service called "App Redirect Service" that does all the redirect stuff independent of this DNS service. I could see using that redirect service even if I use a DNS service outside of Azure. It would also be nice if that new service could support typical IIS routing rules for more advanced redirection. It should have an option to be billed by being placed on an existing app service plan, OR scaled per usage like azure functions. THEN inside the DNS Service in the azure portal, you could have a UI friendly helper setting for the DNS entry that lets the user easily add redirect service for a subdomain, leveraging that new service under the covers. And after it's setup, the portal could show it as linked to jump to the redirect blade for more advanced redirect options.
Shane Adams commented
Agree with the statement, this is simple to do with other providers.
Christos Despotakis commented
2.5 years later and still no web forwarding/redirect.
Yes, we can work around it with an Azure Web App and an "HTTP status 301 Moved Permanently", but like @Thomas Mjelde said, other DNS hosts provide this service without the extra steps.
Thomas Mjelde commented
This is something other DNS services offers, and makes moving to Azure DNS harder to do as you'll have to find alternatives for HTTP redirection.
It's not about HTTP to HTTPS redirection, but rather redirect from one domain to another.
This would be very beneficial.
We use HTTP redirects for quite a few things for ease of use with our end users.
Ian Green commented
if you want to redirect any page to the HTTPS version
//if (top!= self) top.location.href = self.location.href; // Step out of a frame, a long standing abuse by many
if (window.location.protocol != "https:") window.location.href = "https:" + window.location.href.substring(window.location.protocol.length); // automatically load https