简体   繁体   English

Azure云服务的自定义域

[英]Custom Domain for Azure Cloud Service

I have my sample website here on Azure 我在Azure上有我的示例网站

http://1f1e8bdb96d34b769ee79b2d23d2b167.cloudapp.net/ http://1f1e8bdb96d34b769ee79b2d23d2b167.cloudapp.net/

I want to map it to my customer domain. 我想将其映射到我的客户域。

www.api.tplex.com www.api.tplex.com

How can I do it with subdomain? 如何使用子网域?

See this: http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns/ 请参阅: http : //www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns/

Make sure that you've actually set up the CNAME record, it makes a check to see if it points to the site URL. 确保您实际上已经设置了CNAME记录,它会检查它是否指向站点URL。

Based on the GUID in the URL, that looks like a staging site that just got a new build deployed to it. 基于URL中的GUID,它看起来像是一个临时站点,刚刚向其部署了新的构建。 You must have a DNS (http://your-app-name.cloudapp.net) set up for the main cloud service app, right? 您必须为主云服务应用程序设置一个DNS(http://your-app-name.cloudapp.net),对吗? Create a CNAME record at your registrar's website where you registered your domain name and point it to this http://your-app-name.cloudapp.net URL. 在您的域名注册商的网站上创建一个CNAME记录,并将其指向此http://your-app-name.cloudapp.net URL。

Also, in case you weren't aware of it already, use VIP swapping technique to deploy builds from stage to production, ie from http://some-guid.cloudapp.net/ to http://your-app-name.cloudapp.net/ 另外,如果您还不知道它,请使用VIP交换技术将构建从阶段部署到生产,即从http://some-guid.cloudapp.net/部署到http:// your-app-name。 cloudapp.net/

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

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