CDN for Websites
Create Domain
When creating a domain, only one action is performed: a database record is created. At this stage, CDN is not active.
If the created domain is of type CNAME, the cname_url field is generated and populated. Subsequent requests to this URL will load content from cache.
Update Domain
When updating a domain, all required fields must be provided. If CDN is enabled for the domain, it's recommended to first disable CDN, perform the update, then re-enable CDN.
Working with TLS/SSL Certificates
After creating a domain, users can either:
- Automatically issue a free Let's Encrypt certificate using the "Issue Certificate" method (creates an ISSUE_CERT task type)
- Upload their own certificate using the "Upload Certificate" method
Free certificates are automatically renewed every 60 days (automatic renewal can be disabled at the application level). Certificates can be issued/uploaded either before or after enabling CDN.
Enable CDN
To enable CDN, follow these steps:
-
Delegate domain management (for
delegateddomains only):- For
delegateddomains, delegate zone management to the partner - The partner's PDNS must have the domain created with at least one A-record
- For
-
Create the domain:
- Creates a database record with specified parameters
-
Enable CDN:
- Creates an
ENABLE_CDNtask that runs asynchronously - Task status updates automatically as it progresses
- Creates an
The CDN enable task consists of these sequential subtasks:
- Domain delegation verification (for
delegateddomains only) - SSL certificate verification/issuance if needed
- A-record updates on our DNS (for
delegateddomains) - A-record creation in
cdn-clients.arviol.comzone (forcnamedomains)
Task completes with COMPLETED status when all subtasks succeed.
Disable CDN
To disable CDN, use the "Disable CDN for Domain" method. This creates a DISABLE_CDN task that runs asynchronously.
The disable task consists of these subtasks:
- A-record updates on our DNS (for
delegateddomains) - A-record deletion from STATIC_CLIENTS_ZONE (for
cnamedomains)
Task completes with COMPLETED status when all subtasks succeed.