【问题标题】:Custom domain gives error 400 with Azure CDN自定义域在 Azure CDN 中出现错误 400
【发布时间】:2011-08-24 19:26:45
【问题描述】:

我正在尝试通过自定义域 (cdn.mydomain.com/pictures/logo.jpg) 访问我在 Azure CDN 上的内容

但我收到错误 400:

<Error>
    <Code>InvalidUri</Code>
    <Message>
        The requested URI does not represent any resource on the server. RequestId:8fa9ea29-e46f-4053-a902-5707d19e1520 Time:2011-05-13T09:40:08.3459953Z
    </Message>
    <UriPath>http://cdn.mydomain.com/pictures/logo.jpg</UriPath>
</Error>

但是,当通过给定 på Azure (accountname.blob.core.windows.net) 的 URL 访问时,一切正常。

存储是几周前创建的,自定义域也是如此。我创建了一个 CNAME 并将其指向 accountname.blob.core.windows.net。

如何显示我的自定义域中的内容?

编辑:我尝试将我的自定义域指向 xxxxxxx.vo.msecnd.net。现在,我得到的只是一个空白页。我似乎无法弄清楚将我的自定义域指向哪里。无论如何,我最终都会遇到 http 错误 400。

【问题讨论】:

    标签: azure azure-storage azure-blob-storage


    【解决方案1】:

    我没有使用过 Azure CDN,但我建议您验证您的 CNAME 是否设置正确。尝试dig 你的 DNS 名称并检查它是否包含类似

    ;; ANSWER SECTION:
    cdn.mydomain.com.   7200    IN  CNAME   accountname.blob.core.windows.net.
    

    【讨论】:

      【解决方案2】:

      您是否按照http://blog.smarx.com/posts/using-the-new-windows-azure-cdn-with-a-custom-domain 中的 CName 映射说明进行操作?

      【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多