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

Applying for and Changing a Private Domain Name

You can use a private network domain name to connect to a GaussDB(for MySQL) instance.

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

Constraints

  • Domain Name Service (DNS) is deployed.
  • Changing the private domain name will interrupt your database connection. To reconnect to the DB instance, change the connection address of your applications. The new private domain name is applied to the instance 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 project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the Network Information area, click Apply under Private Domain Name.
  6. View the generated private domain name under Private Domain Name.

Changing a Private Domain Name

  1. On the Instances page, click the instance name to go to the Basic Information page.
  2. In the Network Information area, click Modify under Private Domain Name.

    Figure 1 Modifying a private domain name

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

  4. 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 and cloud product. For details about how to enable operation protection, see Identity and Access Management User Guide.