仅将子域指向天蓝色的另一个子域

Pointing only the subdomain to another subdomain in azure

我有一个域 say example.com 和子域 demo1.example.com 托管在 azure 中并且工作正常

我想指向另一个子域 paris.anotherdomain.com 指向 demo1.example.com in azure 而 anotherdomain.com 托管在其他地方

我认为这是可能的,因为很多白标网站都是这样工作的,但 azure 支持人员不知道如何操作,说如果不将 Azure DNS 名称服务器添加到 anotherdomain.com 是不可能的,目前还没有在 Azure DNS

关于需要什么配置的任何指示?

更新 - 在指向 demo1.example.com 的 anotherdomain.com registrar 添加了 cname record paris,但还没有工作,收到 SSL 错误,删除了 Azure 上所需的 SSL,但仍然不行!

azure 需要配置,因为站点使用 SSL,这需要在 azure 中添加证书和自定义域才能正常工作!

有一个非常简单的解决方案。无论您在何处为 anotherdomain.com 配置 DNS,都会创建一个指向巴黎的 CNAME 记录。anotherdomain.com.

您可以按照 this 使用 CNAME 记录映射子域。

在这种情况下,在 anotherdomain.com zone 中创建一条 CNAME 记录。

paris CNAME  demo1.example.com.

然后为此自定义域启用HTTPS,参考Secure a custom DNS name with a TLS/SSL binding in Azure App Service