Common Domain Name for mutiple ASEs sitting in different VNets

Jibin 61 Reputation points
2021-01-08T11:09:46.343+00:00

Like to use same domain name dev.contoso.com for 2 ASEs in separate VNets provisioned under two different subscriptions.

If App1 is deployed in ASE1, it should get app1.dev.contoso.com, similarly App2 in ASE2 should under same top domain like app2.dev.contoso.com.

How can we implement this using this Reference Architecture ?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,884 questions
0 comments No comments
{count} votes

Accepted answer
  1. JoyDutt 826 Reputation points
    2021-01-08T11:46:10.837+00:00

    hi @Jibin

    Thank you for your post to MS Q&A !

    As I understand, you want to use--

    a) same domain name dev.contoso.com >> 2 ASEs in 2 different subnets under 2 different subscriptions
    b) If App1 is deployed in ASE1,then app1.dev.contoso.com, similarly App2 in ASE2 then app2.dev.contoso.com.

    Yes, this can be achieved.
    You would need to add App G/W in your design. Additionally, you would need plan to work on the LB (internal or external depending of your app requirements), gateway / route tables a bit to achieve this.
    Please refer as starting point-
    https://learn.microsoft.com/en-us/azure/app-service/environment/using-an-ase
    https://learn.microsoft.com/en-us/azure/app-service/environment/integrate-with-application-gateway

    Let me know how it goes.

    (Please don’t forget to **"Accept the answer" & “up-vote” **, this can be beneficial to other members. Thank You)

    Regards, ** J.D. **


0 additional answers

Sort by: Most helpful

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.