Help Center> GaussDB(for MySQL)> User Guide> Database Proxy (Read/Write Splitting)> Using a Private Domain Name for a Proxy Instance
Updated on 2024-05-21 GMT+08:00

Using a Private Domain Name for a Proxy Instance

You can use a private network domain name to connect to a proxy instance.

Constraints

To apply for a private domain name, submit an application by choosing Service Tickets > Create Service Ticket in the upper right corner of the console.

Applying for a Private Domain Name for a Proxy 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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Database Proxy.
  6. Click the name of a proxy instance.
  7. In the Proxy Instance Information area on the Basic Information page, click Apply in the Private Domain Name field.

    Figure 1 Applying for a private domain name (1)

  8. Click OK.

    Figure 2 Applying for a private domain name (2)

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

Changing a Private Domain Name for a Proxy 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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Database Proxy.
  6. In the Proxy Instance Information area on the Basic Information page, click Change in the Private Domain Name field.
  7. In the displayed dialog box, enter a new domain name and click OK.

    • 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.

Deleting a Private Domain Name for a Proxy 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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Database Proxy.
  6. In the Proxy Instance Information area on the Basic Information page, click Delete in the Private Domain Name field.
  7. In the displayed dialog box, click OK.