Applying for and Changing a Public Domain Name
You can apply for a public domain name for your DB instance after binding an EIP to it, and connect to the instance through the public domain name.
Constraints
- To apply for or change a public domain name, you need to contact customer service to request required permissions.
- Before applying for a public domain name, you need to bind an EIP to your instance.
- After a public domain name is generated, changing the EIP will interrupt database connections. Exercise caution when performing this operation.
Procedure
- Click
in the upper left corner and select a region.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the DB instance name.
- In the navigation pane on the left, choose Connectivity & Security. On the displayed page, click Apply next to the Public Name field.
- Click
in the upper left corner and select a region.
- Click
in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the target instance name to go to the Overview page.
- In the navigation pane on the left, choose Connectivity & Security. On the displayed page, click Change next to the Public Name field.
- In the displayed dialog box, enter a new public domain name. Click OK.
- Only the prefix of a public domain name can be modified.
- The prefix of a public domain name can contain 8 to 63 characters, and can include only letters and digits.
- The new public domain name must be different from existing ones.
- 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. For details about how to enable operation protection, see Identity and Access Management User Guide.
FAQ
- Question 1: Will I Be Billed for Public Domain Names?
No. Public domain names are not billed. You can apply for a public domain name for your instance after binding an EIP to it. For details about EIP pricing, see Elastic IP pricing details.
- Question 2: Do I Need to Change the Connection Domain Name for My Application After Changing the Public Domain Name of My DB Instance?
Changing the public domain name on the console will interrupt database connections. To reconnect your application to the DB instance, you need to change the domain name for the application.
- Question 3: Does the New Public Domain Name Is Applied Immediately? Is an Instance Reboot Required?
The new domain name is applied immediately. You do not need to reboot the DB instance.
- Question 4: How Do I Connect to a DB Instance Using Its Public Domain Name?
For details, see Using MySQL CLI to Connect to an Instance Through a Public Network.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot