tencent cloud

Feedback

Configuring CNAME

Last updated: 2023-11-20 17:00:36
    After the domain is connected to CSS, the system will automatically assign a CNAME domain for you (the CNAME suffix for the push domain is .tlivepush.com, and the CNAME suffix for the playback domain is .txlivecdn.com)., which you can view in Domain Management. To make your domain accessible, you need to add a CNAME record at your DNS service provider. You can use CSS only after the configuration takes effect.

    Notes

    CNAME resolution is required for both playback and push domains.
    For detailed directions on how to add a CNAME record, please consult your DNS service provider.
    CNAME configuration generally takes effect in about 15 minutes. If you configure multiple levels of CNAMEs, CSS will be unable to track the resolution result. If your domain can be accessed, then the CNAME configuration is successful.
    If CNAME configuration fails to take effect after a long time, refer to Domain Configuration to troubleshoot the issue.

    Prerequisites

    You have registered a domain.
    You have verified the domain and added it in Domain Management of the CSS console. You haven’t added a CNAME record for the domain (the icon in the CNAME column is
    
    ).

    Directions

    The following part shows you how to configure a CNAME record at Alibaba Cloud, Baidu AI Cloud, Wanwang, and Xinnet. The directions in this document are for reference only. Please follow the directions of your DNS service provider. To check whether your CNAME configuration has taken effect, see Verifying CNAME Records.

    Alibaba Cloud

    If your DNS service provider is Alibaba Cloud, use the following steps to add a CNAME record:
    1. Log in to the Alibaba Cloud console and go to Alibaba Cloud DNS > Manage DNS.
    2. Click the domain for which you want to add a CNAME record to go to the DNS Settings page.
    3. Click Add Record and complete the following settings:
    Type: Select CNAME.
    Host: Enter the subdomain. For example, if your playback domain is play.myqcloud.com, enter play; if you want to resolve myqloud.com, enter @; if you want to add a wildcard record, enter \\*.
    ISP Line: Default is recommended.
    Value: Enter the CNAME of the domain. You can view your domain’s CNAME (domain.txlivecdn.com) on the Domain Management page of the CSS console.
    TTL: 10 minutes is recommended.
    4. Click OK.

    Baidu AI Cloud

    If your DNS service provider is Baidu AI Cloud, use the following steps to add a CNAME record:
    1. Log in to the Baidu AI Cloud console and go to Domain Name System.
    2. Select the domain you added to CSS and click Resolve in the Operation column.
    3. Add a DNS record:
    CVM server record: Enter the second-level domain (prefix) of your domain. For example, if your playback domain is play.myqcloud.com, enter play; if you want to resolve myqloud.com, enter @; if you want to add a wildcard record, enter \\*.
    Record type: Select CNAME record.
    Resolution line: Default is recommended.
    Record value: Enter the CNAME. You can view your domain’s CNAME (domain.txlivecdn.com) on the Domain Management page of the CSS console.
    TTL: 10 minutes is recommended.
    4. Click Confirm.

    Wanwang

    If your DNS service provider is Wanwang, use the following steps to add a CNAME record:
    1. Log in to the Wanwang Member Center.
    2. On the left sidebar, click Product Management > My Cloud Resolution to enter the cloud resolution list page.
    3. Click the domain name to be resolved to enter the resolution record page.
    4. On the resolution record page, click Add Resolution.
    5. To add a CNAME record, select CNAME as the record type. For the host record, enter the domain prefix (such as www). For the record value, enter the CNAME to point to. Keep the default resolution line and TTL.
    6. After completing the settings, click Save.

    Xinnet

    If your DNS service provider is Xinnet, add a CNAME record by setting an alias (CNAME record). An alias record allows you to map multiple names to the same computer and is generally used for computers providing both www and mail services. Suppose a computer named host.mydomain.com (A record) provides both www and mail services. To facilitate user access, you can set two aliases (CNAME records) starting with www and mail for this computer.

    Verifying CNAME Records

    A new CNAME record generally takes effect within 30 minutes. The exact time needed varies with provider. You can check whether a record has taken effect using the following methods.
    Method 1: Go to Domain Management of the CSS console. If the icon in the CNAME column is
    
    , CNAME configuration is successful.
    
    
    Method 2: When you add your domain in the CSS console, after completing the basic settings, in the CNAME configuration step, you can view the CNAME status of the domain.
    Method 3: On Linux/macOS, run the dig command (dig your domain). If the first row displays the destination domain provided by CSS, CNAME configuration is successful.
    
    
    Method 4: On Windows, open a Command Prompt window and enter nslookup your domain. If the destination domain name provided by CSS is displayed, CNAME configuration is successful.
    
    
    Note
    If CNAME configuration fails to take effect after a long time, refer to Domain Configuration to troubleshoot the issue.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support