Azure - SSL&交通经理 - 多个地区 [英] Azure - SSL & Traffic Manager - Multiple regions
问题描述
我正在多个地区扩展我的Azure SSL Web应用程序,因此需要设置一个流量管理器。
我当前的配置工作原理是: p>
SSL证书:www.bloop.com
Web应用程序:uk-bloop.azurewebsites.net(自定义域分配)
注册商(Go Daddy):
CNAME awverify awverify.uk-bloop.azurewebsites.net
CNAME awverify.www awverify.uk-bloop.azurewebsites.net
我可以访问
确保您的DNS配置看起来像这样(使用 tm.snobu.org
而不是 www.bloop.com
):
$ dig tm.snobu.org
tm.snobu.org。 3397 IN CNAME simpletm.trafficmanager.net。
simpletm.trafficmanager.net。 97 IN CNAME app-eastus.azurewebsites.net。
app-eastus.azurewebsites.net。 1086 IN CNAME waws-prod-blu-039.vip.azurewebsites.windows.net。
waws-prod-blu-039.vip.azurewebsites.windows.net。 54 IN CNAME waws-prod-blu-039.cloudapp.net。
waws-prod-blu-039.cloudapp.net 14 IN A 23.96.103.159
设置(相同)两个Web应用程序的自定义域:
上传SSL证书(在我的情况下为 tm.snobu.org
),并为两个Web应用程序设置绑定。
就是这样。
上面显示的请求不是通过HTTPS进行的,因为我没有认证方式,但是您得到了解。
I'm expanding my Azure SSL web app across multiple regions, and thus need to setup a traffic manager.
My current configuration works, and is:
SSL cert: www.bloop.com
Web App: uk-bloop.azurewebsites.net (Custom domain assigned)
Registrar (Go Daddy):
CNAME awverify awverify.uk-bloop.azurewebsites.net
CNAME awverify.www awverify.uk-bloop.azurewebsites.net
I can visit https://www.bloop.com, and everything works fine.
I now wish to add a USA region app: usa-bloop.azurewebsites.net
into the mix.
I have added a traffic manager, and assigned the two endpoints, and it all seems to be working correctly:
bloop.trafficmanager.net
-> usa-bloop.azurewebsites.net
-> uk-bloop.azurewebsites.net
And that all seems great - the problem, is how can I assign a custom domain (& SSL Cert) to usa-bloop.azurewebsites.net
? I cannot verify it, as the CNAME points to the uk region, and I cannot add two CNAME records, with the same name. If I point the CNAME to the traffic manager DNS, will Azure 'pass on' the verification to both the individual applications?
i.e:
Registrar (Go Daddy):
CNAME awverify awverify.bloop.trafficmanager.net
CNAME awverify.www awverify.bloop.trafficmanager.net
Minimum stuff required:
(you don't even need the awverify
if CNAME is good enough - awverify
is just for A)
Traffic Manager Endpoints:
Make sure your DNS configuration looks something like this (using tm.snobu.org
instead of www.bloop.com
):
$ dig tm.snobu.org
tm.snobu.org. 3397 IN CNAME simpletm.trafficmanager.net.
simpletm.trafficmanager.net. 97 IN CNAME app-eastus.azurewebsites.net.
app-eastus.azurewebsites.net. 1086 IN CNAME waws-prod-blu-039.vip.azurewebsites.windows.net.
waws-prod-blu-039.vip.azurewebsites.windows.net. 54 IN CNAME waws-prod-blu-039.cloudapp.net.
waws-prod-blu-039.cloudapp.net. 14 IN A 23.96.103.159
Set (the same) custom domain for both Web Apps:
Upload the SSL cert (in my case for tm.snobu.org
) and set bindings for both Web Apps.
That's it.
The request shown above is not made over HTTPS because i don't have a cert handy, but you get the point.
这篇关于Azure - SSL&交通经理 - 多个地区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!