Introduction
A CDN service caches/mirrors origin content in our CDN network (on our CDN edge servers) and creates a fast CDN content. Let's take a look at the differences between origin and CDN content.
Origin
For CDN Static services, there are two possible origins. Pull version - you host your origin content on your server (Origin Domain), or Push version - you host your origin content with CDNsun (Origin Storage).
For CDN HTTP Live services, there is only one possible origin - CDNsun Origin Publishing Point.
Please refer to Overview of CDN services for more details.
Examples:
- Origin Domain - www.mycompany.com, img.mycompany.com, 1.2.3.4, etc. (not www.mycompany.com/images and not https://www.mycompany.com), domain or IP address of your own.
- Origin Storage - My Storage (Storage label), My Storage 2, etc.
- Origin Publishing Point - My Publishing Point (Publishing Point label), My Publishing Point 2, etc.
CDN
- Service Domain - is a label assigned to a CDN service in our system. Service Domain also defines a domain name (e.g. cdn.mycompany.com) for accessing CDN content.
- Service Identifier - is the "ID" assigned to a CDN service in our system, for example, 123.r.cdn-sun.net. It is not intended to be used for accessing CDN content.
The Service Domain is the opposite of the Origin in the CDN context. Service Domain determines where (via what domain) you can access your CDN content. Every CDN service can be accessed via its Service Domain.
Differences between Service Domain and Service Identifier:
- Service Domain - can be (must be) set when you create a new CDN service, is editable.
- Service Identifier - can't be set when you create a new CDN service, is not editable.
Examples:
- Service Domain - cdn.mycompany.com, static.mycompany.com, video.mycompany.com, etc, a domain of your own.
- Service Identifier - 12345.r.cdn-sun.net, 54321.r.cdn-sun.net, etc.
Notes:
- Both Service Domain and Service Identifier must be unique. For example, you can not create two CDN services with the same Service Domain.
What next?
Read about the following topics.