Hosting websites on a shared vm and pointing using Azure front door

Shaun Dibakoane 0 Reputation points
2024-09-19T19:54:12.0166667+00:00

Hi, I have an Azure VM hosting multiple websites. I would like to redirect users to mywebsite.eastus.cloudapp.azure.com/mysite when they route to mywebsite.com using Azure front door, I have a DNS zone hosted in Azure, the VM also has a public IP.

Any ideas on how to solve this?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
691 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,994 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
692 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-09-19T22:09:24.4533333+00:00

    @Shaun Dibakoane

    Thank you for reaching out.

    I think you can explore the Azure Front Door URL redirect feature in this scenario where in the rule you can set Destination host to mywebsite.eastus.cloudapp.azure.com/mysite to redirect all the users from front door endpoint.

    Please let me know if this does not satisfy your requirement and also share more information on your set-up

    Hope this helps! Thanks!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.