Managing Access Domain Names
Overview
A domain name is a string of characters separated by dots 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 GaussDB(DWS), you can access clusters using the private network domain name or the public network domain name.
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.
Public network domain name: Name of the domain for accessing the database in the cluster through the public network. If a cluster is not bound to an EIP, it cannot be accessed using the public network domain name. If you bind an EIP during cluster creation, the public network domain name is automatically generated.
Neither public nor private domain names support load balancing. To use load balancing, see Configuring JDBC to Connect to a Cluster (Load Balancing Mode).
After a cluster is created, you can set private and public domain names for accessing the cluster as required. The operations are as follows:
- Modifying a Private Network Domain Name
- Creating a Public Network Domain Name
- Modifying a Public Network Domain Name
- Releasing a Public Network Domain Name
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.
To modify the private network domain name, perform the following steps:
- Log in to the GaussDB(DWS) console.
- In the navigation pane on the left, choose Clusters > Dedicated Clusters.
- In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
- In the Connection area, click Modify next to the automatically generated Private Network Domain Name.
- In the Modify Private Network Domain Name dialog box, enter the target domain name and click OK.
The private network domain name contains 4 to 63 characters, which consists of letters, digits, and hyphens (-) and must start with a letter.
After the domain name is modified, click copy button 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.
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.
To create a public network domain name, perform the following steps:
- Log in to the GaussDB(DWS) console.
- In the navigation pane on the left, choose Clusters > Dedicated Clusters.
- In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
- In the Connection area, Public Network Domain Name and Public Network IP Address are empty. Click Edit to bind the cluster with an EIP.
- In the Edit Elastic IP dialog box, select an EIP from the drop-down list to bind it to a specified CN.
If no available EIPs are displayed, click View EIP to go to the Elastic IP page and create an EIP that satisfies your needs. After the new EIP is created, click the refresh icon next to the drop-down list. The newly created EIP will be displayed in the EIP drop-down list.
After the EIP is bound successfully, the specific public network IP address is displayed in the Connection area.
- In the Connection area, click Create next to Public Network Domain Name to create a public network domain name for the cluster.
- In the Apply for Public Network Domain Name dialog box, enter the target domain name and click OK.
The public network domain name contains 4 to 63 characters, which consists of letters, digits, and hyphens (-) and must start with a letter.
The specific public network domain name is displayed in the Connection area after being created. Click copy button to copy the public network domain name.
Modifying a Public Network Domain Name
If you bind an EIP during cluster creation, the public network domain name is automatically generated. After a cluster is created, you can modify the public network domain name as required.
To modify the public network domain name, perform the following steps:
- Log in to the GaussDB(DWS) console.
- In the navigation pane on the left, choose Clusters > Dedicated Clusters.
- In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
- Click Modify next to the Public Network Domain Name in the Connection area.
- In the Modify Public Network Domain Name dialog box, enter the target domain name and click OK.
Releasing a Public Network Domain Name
After a cluster is created, you can release unnecessary public network domain names.
To do so, perform the following steps:
- Log in to the GaussDB(DWS) console.
- In the navigation pane on the left, choose Clusters > Dedicated Clusters.
- In the cluster list, find the target cluster and click the cluster name. The Cluster Information page is displayed.
- Click Release next to the Public Network Domain Name in the Connection area.
- In the Release Domain Name dialog box, click Yes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.