Associating a VPC with a Private Zone

Scenarios

Associate a VPC with a private zone so that the private domain name can work in this VPC.

Note

This VPC must be the same as the VPC where the servers are deployed. Otherwise, the domain name cannot be resolved.

Procedure

  1. Log in to the management console.

  2. In the service list, choose Network > Domain Name Service.

    The DNS console is displayed.

  3. In the navigation pane, choose Private Zones.

    The Private Zones page is displayed.

  4. Click image1 in the upper left corner and select the desired region and project.

  1. Locate the private zone with which you want to associate the VPC and click Associate VPC under Operation.

  2. 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 1** Associating a VPC

    Figure 1 Associating a VPC

  3. Click OK.

    The VPC is displayed under Associated VPC.