tencent cloud


CNAME Connection

Last updated: 2022-04-13 11:51:35

    With the CNAME connection method, you can connect your site to EdgeOne security/acceleration services simply by adding a record (subdomain), selecting the corresponding proxy mode, and adding the specified CNAME record at your DNS service provider. You don't need to transfer the DNS resolution permission to EdgeOne.


    Currently, the EdgeOne console is available for only selected users. To access it, contact us to get the permission.

    Adding Record (Connection via Subdomain)

    In CNAME connection, you can add a record to connect site subdomains to the corresponding service.

    1. Log in to the EdgeOne console and click DNS service on the left sidebar.
    2. On the DNS service page, select the target site and click Add record.
    3. Enter the relevant parameters and click Save.

    Parameter description:

    • Record type: Origin server type.
    • Record value: Origin server address.
    Record Type Sample Record Value Usage Description
    A Traffic to the corresponding host record (subdomain) will be forwarded to an IPv4 origin server at ``.
    AAAA 2400:cb00:2049:1::a29f:f9 Traffic to the corresponding host record (subdomain) will be forwarded to an IPv6 origin server at `2400:cb00:2049:1::a29f:f9`. EdgeOne supports dual-stack origin-pull by default.
    CNAME www.origin.com Traffic to the corresponding host record (subdomain) will be forwarded to a domain origin server at `www.origin.com`.
    • Host record: It is equivalent to the prefix of a subdomain. If the root domain of the current site is edgeone.com, then common host records are as listed below:

      Host Record Value Description
      @ It directly resolves the domain as the root domain `edgeone.com`.
      www It is a common host record and resolves the domain as `www.edgeone.com`.
      mail It resolves the domain as `mail.edgeone.com` and is usually used for email services.
      * It is a wildcard and matches all other domains like `*.edgeone.com`.
    • Proxy mode: The CNAME connection method supports the following three service (proxy) modes. For more information, see Proxy Mode.

      • Proxy disabled
      • Proxy acceleration
      • Secure acceleration
    • CNAME: The CNAME suffix specified by the system varies by the selected proxy mode. You need to add the specified CNAME record at your DNS service provider.

    • HTTPS certificate: In CNAME connection, the system doesn't provide an EdgeOne universal certificate. You need to associate each subdomain with a certificate manually before you can use the HTTPS service normally.

    Switching to NS Connection

    On the CNAME connection page, click Switch to NS connection in the top-right corner of the list to switch to NS connection. Then, you need to modify the NS record as required. After the modification takes effect, you will be notified by email, SMS, and Message Center. After the switch:

    • All CNAME records and proxy mode settings will be retained. The "Proxy disabled" proxy mode set for records will become "DNS only".
    • The custom certificates of all subdomains will be retained.

    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