Skip to content

Quantil Documentation

Testing Property permalink

Before you deploy your property to production, we recommend you test and verify your property to make sure it works as expected. CDN360 has a dedicated staging environment for this purpose. To deploy the property to the staging environment, perform the steps in Deploying Your Property.

Testing Your Property in Staging permalink

CDN360 provides a staging environment for you to test your property configurations without affecting production. Sending your test traffic to the servers in the staging environment is a way for you to make sure the behavior is what you expect. The staging servers can be found by the hostname You can also see their IP addresses by issuing the following command:

$ curl
  { "ip":"", "code":"US.GA", "location":"United States" },
  { "ip":"", "code":"CN.ZJ", "location":"China" },
  { "ip":"", "code":"US.VA", "location":"United States" },
  { "ip":"", "code":"CN.SD", "location":"China" },
  { "ip":"", "code":"CN.GD", "location":"China" }

Pick one of the IP addresses. The corresponding location field indicates its country. If your property hostname has an ICP Beian license, you can use an IP address in China. Otherwise, choose an IP address in another country to avoid getting an HTTP 451 'Unavailable for Legal Reasons' status error.

Once you have selected a staging IP address, use one of the following ways to send test traffic to the staging environment:

  • Modify the hosts file to hard code the hostname to be accelerated to one of the staging server's IP addresses.

    On Windows-based systems, edit %SystemRoot%\System32\drivers\etc\hosts

    On Unix-based systems, edit /etc/hosts

    For example:
  • If you use the cURL command, you can add --resolve to directly map the hostname to be accelerated to the IP address of the CDN360 staging server(s). For example:
$ curl -v --resolve