Help Center/ Document Database Service/ User Guide/ Connection Management/ Applying for and Modifying a Private Domain Name
Updated on 2024-08-08 GMT+08:00

Applying for and Modifying a Private Domain Name

You can apply for a private domain name and connect to DDS instances using the private domain name.

Precautions

  • After a private domain name is generated, changing the private IP address will interrupt database connections. Exercise caution when performing this operation.
  • You need to apply for the permissions needed to use private domain names. For details, contact customer service.
  • When this function is enabled, you need to apply for a domain name for an existing instance. A domain name is automatically applied for a new instance.
  • This function is available in the following regions: CN North-Beijing4, CN East-Shanghai1, CN South-Guangzhou, CN-Hong Kong, and CN Southwest-Guiyang1.

Applying for a Private Domain Name

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the instance name and go to the Basic Information page.
  5. In the Node Information area on the Basic Information page, click Private Domain Name.

    Alternatively, in the navigation pane on the left, choose Connections. In the Basic Information area on the Private Connection tab, click Private Domain Name.
    Figure 1 Applying for a private domain name

  6. In the Node Information area on the Basic Information page, view the generated private domain names in the Private Domain Name column.

    Alternatively, click Connections in the navigation pane on the left. In the Basic Information area on the displayed page, view the generated private domain names in the Private Domain Name column.

Modifying a Private Domain Name

You can change the private domain name of an existing DB instance.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the instance name.
  5. In the Node Information area on the Basic Information page, choose More > Change Private Domain Name in the Operation column.

    Alternatively, choose Connections in the navigation pane on the left. In the lower part of the Basic Information area on the Private Connection tab, choose More > Change Private Domain Name in the Operation column.

  6. In the displayed dialog box, enter a new private domain name. Click OK. After the private domain name is changed, it takes about 5 minutes for the change to take effect.

    • Only the prefix of a private domain name can be modified.
    • The prefix of a private domain name can contain 8 to 56 characters, and can include only letters and digits.
    • The new private domain name must be different from the existing ones.

  7. If you have enabled the operation protection function, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account and cloud product. For details about how to enable operation protection, see the Identity and Access Management User Guide.