Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Content Delivery Network/ Getting Started/ Verifying the Domain Name Ownership

Verifying the Domain Name Ownership

Updated on 2024-10-18 GMT+08:00

Scenario

When connecting a domain name to CDN for the first time, verify the ownership of the domain name through file upload or DNS record verification, to prevent the domain name from being maliciously added.

Precautions

  • After you verify the ownership of a domain name, ownership verification is not required for its subdomains or this domain name if you add it to CDN again.
    • Example: If you have verified the domain name ownership of domain name b.a.com, you do not need to verify the ownership of subdomains of a.com, such as **.a.com and ***.a.com, when you add them to CDN as acceleration domain names.
  • If you have verified the ownership of a domain name using account A, you must verify the ownership of this domain name again when adding it to CDN using account B.
  • This topic is also applicable to the ownership verification of subdomains.

File Upload

Domain name test.example.com is used as an example.

  1. When adding a domain name to CDN, verify the ownership of the domain name in scenarios similar to the following.
    Figure 1 Verifying the domain name ownership
  1. Click View Methods and click the File Upload tab. Do not close the verification page before the verification is complete.
  2. Click verification.html to download the file.
  3. Upload the file to the root directory of your domain server.
  4. Click Verify to verify the ownership of the domain name.
    NOTE:

    Huawei Cloud CDN will access http://example.com/verification.html to obtain the verification file. If the system verifies that the obtained file is correct, the verification is successful. Ensure that the verification file is accessible.

DNS Record

Domain name test.example.com provided by Huawei Cloud DNS is used as an example.

  1. When adding a domain name to CDN, verify the ownership of the domain name in scenarios similar to that displayed in the following figure.
  2. Click View Methods and click the DNS Record tab. Do not close the verification page before the verification is complete.
    Figure 2 Verifying the domain name ownership
  3. Add a TXT record to the record sets of your DNS provider.
    1. In the service list, choose Networking > Domain Name Service.
    2. In the navigation pane, choose Public Zones.
    1. Click example.com. In the upper right corner of the domain name details page, click Add Record Set.
      • Name: cdn_verification
      • Type: TXT – Specify text records
      • Value: Enter the record value under the DNS Record tab on the CDN console (see Figure 2). The value contains 32 characters and consists of a date and a random UUID.
    1. Click OK.
  4. After the TXT resolution takes effect, return to the Add Domain Names page of the CDN console and click Verify.
NOTE:
  • A new TXT resolution takes effect immediately. If it is modified, the modification takes effect 5 minutes later. The effective time depends on the DNS resolution time to live (TTL). The default TTL is 5 minutes.
  • The configuration of other service providers, such as www.net.cn, DNSPod, Xinnet, or GoDaddy, is similar. You can verify the ownership of your domain name by referring to the preceding procedure.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback