All Products
Search
Document Center

Performance Testing:Configure domain name and IP address bindings

Last Updated:Mar 11, 2026

When you run a performance test, you may need to direct traffic to a specific server rather than the address returned by DNS -- for example, to load-test a staging environment without changing DNS records. Domain name binding in Performance Testing Service (PTS) routes testing traffic directly to a specified IP address during the test.

For example, if api.example.com normally resolves to a production server at 203.0.113.10, binding it to 198.51.100.20 routes all test requests to 198.51.100.20 instead.

Use cases

Domain name and IP address binding is suitable for scenarios in which you need to quickly switch tested addresses, such as directing traffic between test and production environments.

ScenarioDomain nameBinding targetResult
Isolate test traffic from productionapi.example.com198.51.100.20 (test server)Load test traffic bypasses the production server
Test services in a VPCapi.example.com10.0.0.15 (VPC internal address)Test traffic reaches services not exposed to the public internet

For VPC-specific setup, see Performance testing in an Alibaba Cloud VPC.

Set up domain name bindings

Prerequisites

Before you begin, make sure you have:

  • A configured test scenario in PTS with Scenario Settings completed

Add a binding

  1. Open your test scenario.

  2. Expand the Advanced Settings section.

  3. In the Domain name binding section, enter the following:

    FieldDescriptionExample
    Domain nameThe domain name to overrideapi.example.com
    IP addressThe target IP address that receives test traffic198.51.100.20

    Domain name binding configuration

  4. Click Save.

After you save, PTS routes all test traffic for the specified domain name to the bound IP address.

See also