Note:
You are currently viewing the historical version of the Cloud Infinite domain name management documentation, which is no longer updated or maintained. The new version uniformly uses COS domain name management. You can refer to the Domain Name Management Overview documentation. Basic Concepts
Images stored in Buckets can utilize Cloud Infinite's Image Processing and recognition services. These images need to be downloaded via the Cloud Infinite domain.
Users can access the images in the Bucket at the following address:
System-assigned domain name.
CDN accelerated domain
Custom domain name.
Note:
Some users' Cloud Infinite domains have been merged with COS domains. For Image Processing, you can directly use the COS domain. The console no longer displays the Domain Management configuration page. If you cannot find the Domain Management configuration item after logging in to the Cloud Infinite console, you can log in to the COS console and locate the Bucket that requires domain configuration. For details, see Domain Management Overview. System-assigned domain name
Defined by Tencent Cloud and cannot be changed. When users use Tencent Cloud's internal services to access image resources via this domain, requests are sent and received via the private network environment; when users access from the public network using this domain, access will request files from Cloud Infinite via the public network. After creating a Bucket, Tencent Cloud automatically generates a system-assigned domain name in the format:
[BucketName-APPID].pic[area].myqcloud.com
test-1250000000.picgz.myqcloud.com
Note:
This domain name cannot be changed.
Obtain the corresponding URL for each resource in the Bucket, which is done by appending the relative path after the Bucket's domain name. For example:
http://testbucket-1250000000.picgz.myqcloud.com/test.txt
Note:
If the resource's access permission is private, you need to append a signature suffix to the URL mentioned above.
View the System-Assigned Domain Name
2. Select the Bucket to operate and go to the Bucket management page.
3. Click Domain Management to view the system-assigned domain name.
System-assigned Domain Name - Intra-region Private Network Access: The system-assigned domain name can be used for access between different Tencent Cloud products within the same region. However, to achieve cross-region private network access (e.g., when a CVM in the Guangzhou region needs to access data on Cloud Infinite in the Singapore region), you must deploy dedicated network channels using VPC to enable high-speed access. For details, see the Virtual Private Cloud (VPC) product introduction page. CDN accelerated domain
CDN acceleration domains are initialized by Tencent Cloud and can be modified (requires CNAME configuration) to achieve higher bandwidth and lower latency. After creating a Bucket, Tencent Cloud automatically generates a default CDN acceleration domain in the format:
[BucketName-APPID].image.myqcloud.com
Users can choose to enable CDN acceleration when creating a Bucket, or enable it later in Domain Management. For details, see Configuring CDN Acceleration Domain. After enabling, the CDN acceleration domain can be directly accessed via the public network, for example: http:// testbucket-1250000000.image.myqcloud.com/testdir/test.jpg
At the same time, the CDN console will add a domain name, which is the CDN acceleration domain.
Note:
You can create up to 100 CDN acceleration domains under the same APPID.
Configure CDN Acceleration Domain
1. Log in to the Cloud Infinite Console, go to Bucket Management in the left menu bar, click the Bucket for which you want to configure the domain (e.g., imagetest), and enter the Bucket. 2. Click Domain Management to go to the Domain Management page. Click the Edit button for CDN acceleration to enter the configurable state.
3. Modify the current status, then click Save.
Custom domain name
Depending on user needs, they may not want domain names like qcloud.com to appear on their website or service. For example, if hosting a website on Tencent Cloud, users might prefer http://myblog.net/ rather than http://myblog-1250000000.image.myqcloud.com. Users can achieve this by customizing the domain name, which requires creating a CNAME record in the CDN console to map http://myblog.net/ to http://myblog-1250000000.image.myqcloud.com.
You can point a custom domain name directly to your Bucket. After binding, you can access the content in the Bucket directly via the custom domain name. After adding a custom domain name, you can also choose to enable CDN acceleration for faster access. To avoid security issues in your business, it is recommended to use custom domain names when accessing image files on Cloud Infinite.
Note:
After setting up a custom domain name, to ensure the domain can properly access Cloud Infinite, you must first modify the DNS record by setting the CNAME to the specified address for it to take effect
The domain name you bind must be filed with the MIIT; otherwise, the custom domain name will be inaccessible
Custom domain names currently do not support HTTPS certificate configuration. If you need to use HTTPS, enable CDN acceleration and bind a CDN domain
Configure Custom Domain Name
Binding Notes
1. Log in to the Cloud Infinite Console, go to Bucket Management in the left menu bar, click the Bucket for which you want to configure the domain (e.g., imagetest), and enter the Bucket. 2. Click Domain Management to go to the Domain Management page. Under the Custom Domain configuration item, click Add Custom Domain to add the user's existing domain.
3. Copy the CNAME address.
Note:
Please go to the corresponding domain name resolution provider for configuration. Here we take Tencent Cloud DNS as an example.
5. Click Add Record to add a CNAME record.
Note:
The record value is the CNAME address copied earlier. After adding it, it will take approximately 15 minutes to take effect. Please wait patiently.
Result Verification
After the custom domain is successfully bound to the Bucket, you can download files in the Bucket via the custom domain address. For example, if you have an index.htm file in your testnew Bucket and the bound custom domain is www.srcostest.com.
Before binding:
You can access via the public network access address assigned by the system plus the file path: testnew-1250000000.image.myqcloud.com/index.htm
After binding:
You can access via the custom domain address plus the file path: www.srcostest.com/index.htm
Note:
Enable the static website feature to directly open and browse files via a custom domain name. For how to enable the static website feature, see Setting Up a Static Website. Hotlink Protection Settings
To prevent malicious websites from stealing developers' image links and traffic, thereby causing economic losses, Tencent Cloud Cloud Infinite introduces the hotlink protection feature, which uses the Referer mechanism supported by the HTTP protocol for source identification and management.
1. Log in to the Cloud Infinite Console, go to Bucket Management in the left menu bar, click the Bucket for which you want to configure the domain (e.g., imagetest), and enter the Bucket. 2. Click Domain Management, scroll down the page to find the Hotlink Protection Settings configuration item to configure hotlink protection.
Note:
The Cloud Infinite console no longer displays the Hotlink Protection Settings configuration page for some users. You can go to the COS Console to configure it. For details, refer to Set Hotlink Protection You can set the website to blocklist or allowlist. The Referer list supports multiple domains. Press Enter to create a new line and enter one domain per line. Wildcards are supported
After enabling hotlink protection, service sources can be restricted according to the policy