Updated on 2024-04-11 GMT+08:00

Applying for and Changing a Private Domain Name

You can apply for a private domain name and connect to your RDS DB instance through the private domain name.

Constraints

  • To apply for or change a private domain name, you need to contact customer service to apply for required permissions.
  • After a private domain name is generated, changing the floating IP address will interrupt database connections. Exercise caution when performing this operation.

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 > Relational Database Service.
  4. On the Instances page, click the DB instance name.
  5. In the Connection Information area on the Basic Information page, click Apply next to the Private Domain Name field.

    Alternatively, in the navigation pane on the left, choose Connectivity & Security. In the Connection Information area, click Apply next to the Private Domain Name field.
    Figure 1 Applying for a private domain name

  6. In the Private Domain Name field, view the generated private domain name.

Changing 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 > Relational Database Service.
  4. On the Instances page, click the DB instance name.
  5. In the Connection Information area on the Basic Information page, click Change next to the Private Domain Name field.

    Alternatively, in the navigation pane on the left, choose Connectivity & Security. In the Connection Information area, click Change next to the Private Domain Name field.

  6. In the displayed dialog box, enter a new private domain name. Click OK.

    • Only the prefix of a private domain name can be modified.
    • The prefix of a private domain name can contain 8 to 63 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 operation protection, 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. For details about how to enable operation protection, see the Identity and Access Management User Guide.