客户网站拥有自己的域名 [英] customer websites with their own domain names

查看:91
本文介绍了客户网站拥有自己的域名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望使用自己的域名托管我们的客户网站(主要是静态的,基于javascript的SPA)。使用一个应用服务(因此一个VM)托管多个这些站点的最佳方式是什么,但是路由到适当的站点。
例如
:b
www.abcd.com

www.efgh.com

.....

我们希望看看我们是否可以编写脚本(使用powershell或az cli)上传静态html和css文件,将其添加到应用程序网关并更新路由规则以配置网站。是否有任何示例显示如何为其域托管DNS记录,
并为托管网站创建路由规则?



什么是最好的架构以可扩展的方式在Azure上使用mimimal资源支持100个甚至1000个个人网站?

We would like to host our customer websites (mostly static, and javascript based SPA) with their own domain name. What is the best way to host multiple of these sites using one app service (hence one VM) but route to appropriate site.
for example:
www.abcd.com
www.efgh.com
.....
we would like to see if we can script (using powershell or az cli) to upload static html and css files, add it to the application gateway and update the routing rules to provision a website. Are there any examples to show how to host DNS records for their domains, and create routing rules to hosted website?

What would be the best architecture to support 100s or even 1000s of their personal websites with mimimal resources on Azure in a scalable way?

推荐答案

 

Hi, 

如果您使用应用程序网关路由流量,那么您可以在应用程序网关的后端拥有最多100个站点。 

If you are using Application gateway to route the traffic, then you can have upto 100 site in the backend of Application gateway. 

在您的情况下,您需要部署多个应用程序网关,如果有1000个站点,则需要10 * 100应用程序网关以满足您的要求。 

In your case you need to deploy multiple Application gateway, if 1000 sites, then 10*100 Application gateway to meet your requirement. 

您可以使用Powershell自动/更新Application Gateway的后端池/侦听器配置。

You can use Powershell to automate/update the backend pool/listener configuration of Application Gateway.

问候, 

Msrini


这篇关于客户网站拥有自己的域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆