简体   繁体   English

多个Azure CDN端点

[英]Multiple Azure CDN endpoints

We have a Azure CDN endpoint and a custom domain mapped to it cdn.ourcompany.com, so I can use two domains to access the CDN, my custom domain and azure CDN host (.vo.msecnd.net) 我们有一个Azure CDN端点和一个映射到它的自定义域cdn.ourcompany.com,因此我可以使用两个域来访问CDN,我的自定义域和azure CDN主机(.vo.msecnd.net)

It is not possible to add another custom CDN domain to the endpoint in the Azure Management Portal, but I wonder if there is any work around I can do, perhaps doing something in my DNS? 无法在Azure管理门户中向端点添加另一个自定义CDN域,但我想知道我能做些什么工作,也许在我的DNS中做一些事情?

正如我发现我无法解决的问题,但是我正在和微软的一个人说话,他说他可以使用手动程序为我做这件事,如果将来有可能,我没有得到官方立场,希望它会。

You could try creating another CNAME that maps to the CDN Host .vo.msecnd.net or your custom domain and it may work the same. 您可以尝试创建映射到CDN主机.vo.msecnd.net或您的自定义域的另一个CNAME,它可能会起作用。 I would tracert to verify. 我会tracert验证。

as far as i know, currently you can only add a single custom domain to a CDN endpoint. 据我所知,目前您只能将一个自定义域添加到CDN端点。 i am not sure there's other workaround. 我不确定还有其他解决方法。 You can submit a feature request on http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting . 您可以在http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting上提交功能请求。 Most browsers allow 6 (not 5) simultaneous connections to a single domain. 大多数浏览器允许6个(不是5个)同时连接到单个域。 This is usually enough. 这通常就足够了。 If you have a 7th request, it will still work, but the request is only sent to the service when one of the former 6 requests return. 如果您有第7个请求,它仍然有效,但只有当前6个请求之一返回时,请求才会发送到服务。 If that's not acceptable, you can either do as SilverNinja suggested: Combine multiple requests in a single request. 如果这是不可接受的,您可以像SilverNinja建议的那样:在单个请求中组合多个请求。 Or you can use multiple storage accounts, which allow you to create one custom domain per account. 或者,您可以使用多个存储帐户,这样您就可以为每个帐户创建一个自定义域。

Until last year you had to open a ticket with Microsoft, who would manually add an internal rewrite rule for each extra domain. 直到去年,你必须向微软公开一张票,微软将为每个额外的域手动添加内部重写规则。

It has recently become possible to add multiple domains directly from the Windows Azure Management Portal. 最近可以直接从Windows Azure管理门户添加多个域。 Select CDN, then click the CDN name, then Click Manage Domains from the controls at the bottom. 选择CDN,然后单击CDN名称,然后单击底部控件中的“管理域”。 This will open the "Manage custom domains" dialog, from where you can add and remove domain names (except for the one on top, which is the default CDN endpoint name). 这将打开“管理自定义域”对话框,您可以在其中添加和删除域名(顶部的名称除外,这是默认的CDN端点名称)。

You still need to verify each added domain with a CNAME record in your DNS. 您仍需要在DNS中使用CNAME记录验证每个添加的域。

Works fine here with six domains. 这里有六个域正常工作。

You can always create multiple custom domains on Azure portal, just click on manage domains button on the bottom of the portal. 您始终可以在Azure门户上创建多个自定义域,只需单击门户底部的“管理域”按钮即可。 I have multiple custom domain names here. 我这里有多个自定义域名。 What you need to do is to point your custom domain to CDN endpoint first and then add custom domains in the "Manage custom domains" page 您需要做的是首先将自定义域指向CDN端点,然后在“管理自定义域”页面中添加自定义域

在此输入图像描述

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM