Help Center> Domain Name Service> User Guide> Private Zones> Associating a VPC with a Private Zone
Updated on 2023-12-01 GMT+08:00

Associating a VPC with a Private Zone

Scenarios

Associate a VPC with a private zone so that the private domain name can be resolved within this VPC.

This VPC must be the same as the VPC where your other cloud resources are deployed. If the VPC is different, the domain name cannot be resolved.

Procedure

  1. Go to the Private Zones page.
  2. Click in the upper left corner and select the desired region and project.
  3. Locate the private zone with which you want to associate the VPC and click Associate VPC under Operation.
    Figure 1 Associate VPC
  4. Select the VPC you want to associate.
    If no VPCs are available, create one on the VPC console and then associate the private zone with it.
    Figure 2 Associating a VPC
  5. Click OK.

    The VPC is displayed under Associated VPC.

    Figure 3 Associated VPCs