How can we improve Azure Networking?

Support HTTP redirect records in Azure DNS

Please make Azure DNS support HTTP redirect records. http://www.domain.com -> http://www.domain2.com/sub/index.htm

114 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
nik shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

4 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
An error occurred while saving the comment
  • Christos Despotakis commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    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.

  • Nathan commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    if you want to redirect any page to the HTTPS version

    <script type="text/javascript">
    //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
    </script>

Feedback and Knowledge Base