Updated on 2024-07-18 GMT+08:00

Applying for and Changing a Private Domain Name

You can connect to RDS DB instances through private domain names.

Constraints

  • Changing the private domain name will interrupt your database connection. To reconnect to the instance, change the connection address of your applications. The new private domain name is applied to the instance about 5 minutes after the change.
  • If your DB instance is connected through a private domain name, changing its floating IP address does not interrupt services.

Procedure

When you create a DB instance, the system automatically assigns a private domain name to your instance.

After the DB instance is created, you can change the private domain name as needed.

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, click the target DB instance.
  4. In the Connection Information area on the Basic Information page, click Change next to the Private Domain Name field.
  5. In the displayed dialog box, enter a new domain name and click Yes.

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