Skip to main content
Version: v1

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:

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:

  1. Delegate domain management (for delegated domains only):

    • For delegated domains, delegate zone management to the partner
    • The partner's PDNS must have the domain created with at least one A-record
  2. Create the domain:

    • Creates a database record with specified parameters
  3. Enable CDN:

    • Creates an ENABLE_CDN task that runs asynchronously
    • Task status updates automatically as it progresses

The CDN enable task consists of these sequential subtasks:

  • Domain delegation verification (for delegated domains only)
  • SSL certificate verification/issuance if needed
  • A-record updates on our DNS (for delegated domains)
  • A-record creation in cdn-clients.arviol.com zone (for cname domains)

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 delegated domains)
  • A-record deletion from STATIC_CLIENTS_ZONE (for cname domains)

Task completes with COMPLETED status when all subtasks succeed.