tencent cloud

Tencent Cloud Super App as a Service

Release Notes and Announcements
Announcement: Tencent Cloud Mini Program Platform Renamed to Tencent Cloud Super App as a Service on January 2, 2025
Console Updates
Android SDK Updates
iOS SDK Updates
Flutter SDK Updates
IDE Updates
Base Library Updates
Product Introduction
Overview
Strengths
Use Cases
Purchase Guide
Billing Overview
Pay-As-You-Go Billing
Renewal Guide
Service Suspension Instructions
Getting Started
Plan Management
Overview
Console Account Management
Storage Configuration
Acceleration Configuration
Branding Configurations
Platform Features
Console Login
Users and Permission System
Mini Program Management
Mini Game Management
Superapp Management
Commercialization
Platform Management
User Management
Team Management
Operations Management
Security Center
Code Integration Guide
Getting Demo and SDK
Android
iOS
Flutter
Superapp Server
GUID Generation Rules
Mini Program Development Guide
Mini Program Introduction and Development Environment
Mini Program Code Composition
Guide
Framework
Components
API
Server Backend
JS SDK
Base Library
IDE Operation Instructions
Mini Game Development Guide
Guide
API
Server Backend
Practice Tutorial
Mini Program Login Practical Tutorial
Mini Program Subscription Message Practical Tutorial
Payment Practical Tutorial
Ad Integration Practical Tutorial
Mini Game Subscription Message Practical Tutorial
API Documentation
History
Introduction
API Category
Making API Requests
Operation Management APIs
User Management APIs
Team Management APIs
Sensitive API-Related APIs
Role Management APIs
Platform Management APIs
Other Console APIs
Mini Program or Mini Game APIs
Management-Sensitive APIs
Global Domain Management APIs
Superapp APIs
Data Types
Agreements
Service Level Agreement
Data Processing and Security Agreement
SDK Privacy Policy Module
SDK Data Processing and Security Agreement Module

Configuring CNAME for Domain Name

PDF
聚焦模式
字号
最后更新时间: 2024-11-21 17:19:13
This guide uses Tencent Cloud and Alibaba Cloud as examples for configuring CNAME domain records. The steps provided are for reference only. Please refer to your specific DNS service provider's documentation for accurate instructions. After you configure the CNAME, you can verify its effectiveness using the methods described in the "Verifying the effect of CNAME record" section.




Prerequisite

Before configuring the CNAME, you need to complete domain name registration and filing. Follow these steps:
1. If you need to purchase domain names, you can visit a domain name registration service to purchase domain names. You can also purchase from other domain service providers.
2. If your domain names have not obtained an ICP filing, you can go to Tencent Cloud Website ICP Filing Service to apply for ICPfiling.

Configuration steps

You need to complete the configuration at the DNS service provider of your domain name. This document describes the configuration steps in Tencent Cloud and Alibaba Cloud.

Tencent Cloud

Quick configuration

If your domain service provider is Tencent Cloud, we recommend you use the quick CNAME record configuration feature. For more information, see Configuring CNAME via DNSPod.

Manual configuration

1. Log in to the CDN console and copy the CNAME address. Before your domain name is successfully resolved, a prompt icon is displayed next to the CNAME record. Copy the CNAME record value.
2. Log in to the DNSPod console and click Record.
3. Add a CNAME record and click OK.
4. Wait for the configuration to take effect.
Parameter
Description
How to configure
Host record
Prefix of the subdomain name
 
If the domain name is play.myqcloud.com, please select: console
To resolve the primary domain name myqloud.com, please select: @
To resolve a wildcard domain name, please select: *
record type
Set the record type to CNAME
To point a domain name to another one, please select: CNAME

ISP Line
Used by the DNS server to resolve a domain name to the corresponding server IP address according to the source of the visitor
Please select: Default
Record values
The domain name to point to. Enter the corresponding CNAME value of the domain name obtained on the Domain Management page in the Tencent Cloud console .
Check the default link in
Tencent Cloud console and enter the recorded value. The format should be: xxxxx.console.tcmpp-dev.tmfcloud.com
TTL (s)
Time to live of the cache, which is 600s by default
You’re advised to set it to 600s.

Alibaba Cloud

If your DNS service provider is Alibaba Cloud, you can add a CNAME record as follows.
1. Before your domain name is successfully resolved, a prompt icon is displayed next to the CNAME record. Copy the CNAME record value in the Tencent Cloud console. Copy the CNAME record value.
2. Log in to the Alibaba Cloud DNS console.
3. Click the domain name to be resolved to enter the resolution record page.
4. Click Add Record.
5. Select CNAME as the record type. Enter the host record as needed (e.g., `www`), which is the domain name prefix. Enter the CNAME value you copied in Step 1 as the record value. Retain the default settings for ISP Line and TTL.
6. Finally, click Confirm.


Subsequent Steps

Verifying the Effect of CNAME Record

The time it takes for a CNAME record to take effect varies by DNS service provider. It is generally within half an hour. The time it takes for a CNAME record to take effect varies by DNS service provider. It is generally within half an hour. You can also check whether the CNAME record is in effect by running `nslookup` or `dig`. If the CNAME record response is the CNAME configured, it indicates that the configuration is successful, and the acceleration is enabled.
nslookup -qt=cname <Acceleration domain name>

dig <Acceleration domain name>



帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈