Help Center> Relational Database Service> User Guide> Working with RDS for MySQL> Database Proxy (Read/Write Splitting)> Applying for and Changing a Private Domain Name for a Database Proxy
Updated on 2024-04-11 GMT+08:00

Applying for and Changing a Private Domain Name for a Database Proxy

Scenarios

After a database proxy is created, you can apply for a private domain name for it and change the domain name later as needed.

Precautions

  • To use a private domain name for a database proxy, you need to contact customer service to apply for required permissions.
  • The private domain name must be unique in a given region.
  • Changing the private domain name for a database proxy will interrupt your database connection. To reconnect to the proxy, change the connection address of your applications. The new private domain name is applied to the proxy about 5 minutes after the change.

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 navigation pane on the left, choose Database Proxy.
  6. In the proxy information area, click Apply next to the Private Domain Name field.

    Figure 1 Proxy information

  7. In the displayed dialog box, click OK.

    You can view the task progress and result on the Task Center page.

Changing a Private Domain Name

  1. On the Instances page, click the DB instance name.
  2. In the navigation pane on the left, choose Database Proxy.
  3. In the proxy information area, click Change next to the Private Domain Name field.

    Figure 2 Proxy information

  4. In the displayed dialog box, enter a new domain name and click OK.

    Figure 3 Changing a private domain name
    • 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 lowercase letters and digits.
    • The new private domain name must be different from existing ones.

    You can view the task progress and result on the Task Center page.

  5. If the private domain name is no longer needed, click Delete next to the Private Domain Name field.