Azure子域链接到Appservice

问题描述 投票:0回答:2

我有域example.com我在azure买了。我有两个appservices app1和app2。

我可以将example.com链接到app1

但我想将example.com/one与app1(appservices)和example.com/two链接到app2(appservices)。

任何人都可以建议我如何在Microsoft Azure中执行此操作

azure dns subdomain web-hosting
2个回答
2
投票

使用Azure Application Gateway并创建相关的路由规则将是一个很好的方法。

这是Microsoft Docs的快速截图,其中讨论了类似的情况。

enter image description here

要知道它有相关的价格(以及许多其他功能)。所以你可能需要评估一下。 Application Gateway Pricing


1
投票

您需要将自定义域分配给负载均衡器。 Azure App Gateway支持URL based routing。由于Azure App Services是多租户,因此您需要按照这些docs配置App Gateway与App Server。这是单区域应用的绝佳解决方案。

如果您需要多区域支持,请查看我们的新Azure Front Door Service。 Azure Front Door Service使您能够通过优化最佳性能和即时全局故障转移来实现高可用性,从而定义,管理和监控Web流量的全局路由。借助Front Door,您可以将全球(多区域)消费者和企业应用程序转换为可通过Azure覆盖全球受众的强大,高性能的个性化现代应用程序,API和内容。

© www.soinside.com 2019 - 2024. All rights reserved.