All Products
Search
Document Center

:Resolve access failures after CNAME configuration

Last Updated:Feb 28, 2026

Symptom

After you add an ingest domain and a streaming domain in ApsaraVideo Live, you must point each domain to the CNAME assigned by ApsaraVideo Live. This routes requests through ApsaraVideo Live nodes.

After you configure domain name resolution for both a root domain (example.com) and a subdomain (www.example.com), the root domain loads correctly but the subdomain fails to load. Direct access through the origin server works.

Cause

Both the root domain and the subdomain resolve to the same CNAME (example.com.w.alikunlun.com).

Each CNAME maps to exactly one domain. When two domains share the same CNAME, only one domain resolves correctly.

Solution

Reconfigure your CNAME records so that each domain points to its own CNAME. Choose one of the following options based on which domain you want to use.

Option A: Use the subdomain

  1. Delete the CNAME record for the root domain (example.com).

  2. Create a CNAME record that points www.example.com to www.example.com.w.alikunlun.com.

For detailed steps, see Configure a CNAME record.

Option B: Use the root domain

  1. Delete the CNAME record for the subdomain (www.example.com).

  2. Create a CNAME record that points example.com to example.com.w.alikunlun.com.

Verify the fix

After you update your CNAME records, run dig to confirm that the domain resolves to the correct CNAME:

dig www.example.com +short

Expected output:

www.example.com.w.alikunlun.com.

If the output still shows the old CNAME target, wait for DNS propagation and check again.

References

Applicable scope

  • ApsaraVideo Live

  • Domain name resolution