What is the expected behavior when loading the CNAME or hostname on your browser for the supported protocols?
This table shows the behavior that is expected for the supported protocols when loading either the hostname or CNAME from your web browser.
Browser URL | CDN with HTTP protocol only |
---|---|
http://hostname |
Successful load |
https://hostname |
Access denied [1] |
http://cname |
301 Moved Permanently |
https://cname |
Redirects to IBM Cloud webpage |
Browser URL | Wildcard | Shared SAN |
---|---|---|
http://hostname |
301 Moved Permanently | Access denied[2] |
https://hostname |
Redirects to IBM Cloud webpage | Successful load |
http://cname |
Access denied [3] | 301 Moved Permanently |
https://cname |
Successful load | 301 Moved Permanently |
Browser URL | Wildcard | Shared SAN |
---|---|---|
http://hostname |
301 Moved Permanently | Successful load |
https://hostname |
Redirects to IBM Cloud webpage | Successful load |
http://cname |
Successful load | 301 Moved Permanently |
https://cname |
Successful load | Redirects to IBM Cloud webpage |
Common error messages:
A 301 Moved Permanently
message most likely indicates you are attempting to reach a CDN with an HTTPS
or HTTP_AND_HTTPS
protocol using the hostname. Due to a limitation with the HTTPS wildcard certificate,
you must use the CNAME for access to your CDN.
With an HTTP only protocol, you receive the 301 Moved Permanently
message if you try to reach your CDN using the CNAME. In this case, you can only gain access to your CDN using the hostname.
The Access denied
message is seen when you're trying to reach a CDN using an incorrect protocol. Ensure that you're using http
for CDNs created with HTTP protocol, or https
for CDNs created with HTTPS protocol.
A possible redirect error:
The behavior of a URL redirecting to IBM Cloud CDN webpage is seen most often when the URL is incorrect for the protocol. If your CDN is created with a protocol of HTTPS or HTTPS_AND_HTTPS, you must use the CNAME for access to your CDN. For example,:
https://examplecname.cdn.appdomain.cloud
for HTTPS mappings or http://examplecname.cdn.appdomain.cloud
or https://examplecname.cdn.appdomain.cloud
for HTTP_AND_HTTPS mappings.
The URL redirects to IBM Cloud CDN webpage in this case because both the protocol and domain are incorrect for the CDN's protocol. For a CDN created with HTTP as the only protocol, it can be reached only by using the hostname.
For example, http://example.com
.
-
The expected behavior was changed to
Access denied
for the domain mappings that are created since 08/05/2019. The expected behavior is keepingSuccessful load
for the domain mappings created before 08/05/2019. ↩︎ -
The expected behavior was changed to
Access denied
for the domain mappings that are created since 08/05/2019. The expected behavior is keepingSuccessful load
for the domain mappings created before 08/05/2019. ↩︎ -
The expected behavior was changed to
Access denied
for the domain mappings that are created since 08/05/2019. The expected behavior is keepingSuccessful load
for the domain mappings created before 08/05/2019. ↩︎