Test a Property

最終更新日:2026-08-28 18:20:37

CDN Pro provides not only a production environment, but also a staging environment. We strongly recommend deploying and testing your property in the staging environment before deploying it to production so as to ensure that the server behaviors match your expectations. CDN Pro provides the staging server IPs; with a few simple steps, you can direct test requests to these IPs. This article describes how to test your property.

1. View Server IPs

You can obtain the staging server IPs in the following ways:

Method 1: View in the Console

On the properties page, hover over the question mark icon in the Staging Version column to display the current list of staging server IPs. Select the server for the region you want to test and click the copy icon next to the IP to copy it.

You can also find the IP list when you deploy a property. In the deployment pop-up, hover over the question mark icon on the Staging option to show the server IPs.

Method 2: View from the Command Line

Use curl on the domain staging.qtlcdn.com to retrieve the IP list.

$ curl staging.qtlcdn.com

[
    {
        "ip": "2401:c500:fd00:0002:1c7b:a470:f69b:6e2a",
        "code": "na.us.ma",
        "location": "United States",
        "ipVersion": 6
    },
    {
        "ip": "93.188.133.234",
        "code": "eu.fr.idf",
        "location": "France",
        "ipVersion": 4
    },
    {
        "ip": "112.240.57.226",
        "code": "as.cn.js.yz",
        "location": "China",
        "ipVersion": 4
    },
    {
        "ip": "2001:0e68:20db:0011:aefd:5a8b:52d6:20d9",
        "code": "as.jp.13",
        "location": "Japan",
        "ipVersion": 6
    },
  ...
]

2. Choose Server IPs

Each staging server entry includes:

  • ip: The server IP address
  • ipVersion: IP family, either IPv4 or IPv6
  • code: Region code
  • location: Country

Choose a server based on your needs.

Note: If your hostname does not have ICP Beian, do not select servers in China (location = China); otherwise, requests will be restricted with HTTP 451 status code.

3. Send Test Requests

Method 1: Edit the hosts File

Edit the hosts file on your local machine to bind the hostname to the chosen staging server IP. Important: Put the IP address first, followed by the hostname, separated by a space; do not swap the order.

The path to the hosts file is:

  • Windows: %SystemRoot%\System32\drivers\etc\hosts
  • Unix: /etc/hosts
# example
163.171.230.47 cdnpro.mydomain.com

After saving the hosts file, enter the test URL in your browser to verify behaviors.

Method 2: Use The cURL Command

Add --resolve to your curl command to bind the test hostname to a CDN Pro staging server IP in the command line. Example:

$ curl -v https://cdnpro.mydomain.com/index.html --resolve cdnpro.mydomain.com:443:163.171.230.47