0

I purchased a domain in the Azure Portal and I would like to redirect it to a section on another site.

For example, Say I purchased domain1.com in azure portal, i would then like to redirect that to http://www.anotherdomain.com/subsection.

Is this possible, and if so, what is the best way to do it?

Many Thanks,

JJ

Jolly
  • 21
  • 1
  • 3
  • Yes, it seems that the Alias doesn't support this format url. – Janley Zhang Apr 10 '18 at 09:56
  • Im thinking the best/easiest way is going to be to set up an app service linked to my domains and forward them using basic meta tags? Thoughts? – Jolly Apr 10 '18 at 10:08
  • see if this helps - https://social.technet.microsoft.com/wiki/contents/articles/32229.azure-create-an-url-rewrite-azure-web-app.aspx – Sheethal J S Apr 10 '18 at 10:16
  • @Jolly From this [article](https://stackoverflow.com/questions/9444055/using-dns-to-redirect-to-another-url-with-a-path), we know the DNS won't redirect the path portion of a URL. And in this [wiki](https://en.wikipedia.org/wiki/Domain_Name_System) about DNS, we could know the Domain name syntax doesn't support '/'. – Janley Zhang Apr 11 '18 at 01:07

1 Answers1

0

Using the Advanced Management portal, you can set up forwarding to achieve this scenario. In your azure portal, navigate to your App Service Domain

  1. Under "Domain Management", select Advanced Management Portal.
  2. In the Advanced Management Portal, Select the DNS tab.
  3. In the "Forwarding" section, add your desired "http://www.anotherdomain.com/subsection"
  4. Save your changes.
karlsarch
  • 26
  • 5