I have two app services, WebApp1 and WebApp2 that are using a multi-region architecture.
In Region1:
In Region2:
Architecture:
This two web apps are completely separate and independent to each other ( but share the same database) and both will have it's own custom domain. The URL that should be exposed to the end user is something like this.
I have checked this but this is not meeting my requirement. These two apps need to be deployed as independent application, not as the virtual application(if this is not the only way).
I don't want to use multiple AFD for this purpose? Is it possible to achieve my requirement using a single AFD? Any suggestion will be appreciated.
You need to create 2 Frontend host (Custom domain) and place web app1 in a backend pool and web App2 another backend pool.
You can create 2 separate rules for each App. It should work as you described in the diagram mentioned above.
If you have any issues with the configuration, let me know.