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

Applying for and Changing a Public Domain Name

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

Constraints

  • To apply for or change a public domain name, you need to contact customer service to apply for required permissions.
  • Before applying for a public domain name, you need to bind an EIP to your instance.
  • After a public domain name is generated, changing the EIP will interrupt database connections. Exercise caution when performing this operation.

Applying for a Public 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 Public Name field.

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

    Figure 1 Applying for a public domain name

  6. In the Public Name field, view the generated public domain name.

Changing a Public 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 Public Name field.

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

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

    • Only the prefix of a public domain name can be modified.
    • The prefix of a public domain name can contain 8 to 63 characters, and can include only letters and digits.
    • The new public domain name must be different from 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.