siva sandeep
siva sandeep

Reputation: 607

Azure SubDomain Link to Appservice

I have domain example.com I bought in azure.And I have two appservices app1 and app2.

I can link example.com to app1

But I want to link example.com/one to app1(appservices) and example.com/two to app2(appservices).

Can anyone plz suugest me how to do this in Microsoft Azure

Upvotes: 0

Views: 178

Answers (2)

Ken W - Zero Networks
Ken W - Zero Networks

Reputation: 3824

You will need to assign the custom domain to a load balancer. Azure App Gateway supports URL based routing. Since Azure App Services are multi-tenant you will need to follow these docs to configure App Gateway with an App Server. This is a great solution for single region applications.

If you need mutli-region support, check out our new Azure Front Door Service. Azure Front Door Service enables you to define, manage, and monitor the global routing for your web traffic by optimizing for best performance and instant global failover for high availability. With Front Door, you can transform your global (multi-region) consumer and enterprise applications into robust, high-performance personalized modern applications, APIs, and content that reach a global audience with Azure.

Upvotes: 1

Rohit Saigal
Rohit Saigal

Reputation: 9684

Using Azure Application Gateway and creating the relevant routing rules would be a good way to do this.

Here's a quick screenshot from Microsoft Docs which talks about a similar scenario..

enter image description here

Do know that there is price associated with it (and a lot of other features). So you may need to evaluate a bit. Application Gateway Pricing

Upvotes: 2

Related Questions