Updated on 2026-07-08 GMT+08:00

Managing DWS Cluster Access Domain Names

Overview

A domain name is a string of characters separated by periods (.) to identify the location of a computer or a computer group on the Internet, for example, www.example.com. You can enter a domain name in the address box of the web browser to access a website or web application. On DWS, you can access clusters using the private network domain name or the public network domain name. Neither public nor private domain names support load balancing. To use load balancing, see Configuring JDBC to Connect to a Cluster (Load Balancing Mode).

  • Private network domain name: Name of the domain for accessing the database in the cluster through the private network. The private network domain name is automatically generated when you create a cluster. The default naming rule is Cluster name.dws.myhuaweicloud.com. If the cluster name does not comply with the domain name standards, the prefix of the default access domain name will be adjusted accordingly.
  • Public network domain name: Name of the domain for accessing the database in the cluster through the public network. If no EIP is bound to a cluster, the cluster cannot be accessed using the public network domain name. If you bind an EIP to a cluster during creation, the public network domain name is automatically generated. The default naming rule is Cluster name.dws.huaweiclouds.com.

Modifying a Private Network Domain Name

The private network domain name is automatically generated during cluster creation. After the cluster is created, you can modify the default domain name based on site requirements.

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
  4. In the Connection area, click Modify next to the automatically generated Private Network Domain Name.

    Figure 1 Modifying a private network domain name

  5. In the displayed Modify Private Network Domain Name dialog box, enter your desired domain name. It can contain 4 to 63 characters, including letters, digits, and hyphens (-), and must start with a letter (case-insensitive).
  6. Confirm the information and click OK.

    After modifying the domain name, you can click next to the private network domain name to copy it.

Creating a Public Network Domain Name

A cluster is not bound to an EIP by default during cluster creation. That is, cluster access using the public network is disabled. After a cluster is created, if you want to access it over the public network, bind an EIP to the cluster and create a public network domain name.

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
  4. In the Connection area, Public Network Domain Name and Public Network IP Address are empty. Click Edit beside Public Network IP Address to bind an EIP to the cluster.
  5. In the Bind/Unbind EIP dialog box, select an EIP from the list to bind it to a specified CN. After the EIP is bound successfully, the specific public network IP address is displayed in the Connection area.

    • If no available EIPs are displayed, click View EIP to go to the EIPs page and create an EIP that satisfies your needs. After the EIP is created, click Bind. The newly created EIP will be displayed in the EIP drop-down list.
    • By default, only Huawei Cloud accounts or users with Security Administrator permissions can query and create agencies. By default, the IAM users in those accounts cannot query or create agencies. When the users use the EIP, the system makes the binding function unavailable. Contact a user with the DWS Administrator permissions to authorize the agency on the current page.

  6. In the Connection area, click Create next to Public Network Domain Name to create a public network domain name for the cluster.

    Figure 2 Creating a public network domain name

  7. In the displayed Apply for Public Network Domain Name dialog box, enter your desired domain name. It can contain 4 to 63 characters, including letters, digits, and hyphens (-), and must start with a letter (case-insensitive).
  8. Confirm the information and click OK.

    The specific public network domain name is displayed in the Connection area after being created. Click next to the domain name to copy it.

Modifying a Public Network Domain Name

You can change the public network domain name of a cluster. If you bind an EIP to a cluster during creation, the public network domain name is automatically generated.

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
  4. Click Modify next to the Public Network Domain Name in the Connection area.

    Figure 3 Modifying a public network domain name

  5. In the Modify Public Network Domain Name dialog box, enter your desired domain name and click OK.

Releasing a Public Network Domain Name

You can release the public network domain name of a cluster that does not need to be accessed from the public network.

  1. Log in to the DWS console.
  2. In the navigation pane on the left, choose Cluster > Cluster List.
  3. In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
  4. Click Release next to the Public Network Domain Name in the Connection area.

    Figure 4 Releasing a public network domain name

  5. In the Release Domain Name dialog box, click Yes.