After you register a domain name and set up a website using an IP address, configure the domain name so that visitors can access your website on the Internet.
For example, you can deploy a web server with an IPv4 EIP. To access the website through domain name example.com and its subdomain www.example.com, do as follows:
Figure 1 shows the process for configuring a domain name for your web server.
Create a public zone for your domain name and add record sets to it.
The DNS console is displayed.
The Public Zones page is displayed.
Set other parameters by referring to Creating a Public Zone.
View the created public zone on the Public Zones page.
Click the zone name to view zone details. You can view SOA and NS record sets automatically generated by the system.
Add an A record set to the created public zone to allow access the website using example.com.
The Record Sets page is displayed.
Retain default settings for other parameters. For detailed descriptions of the parameters, see Adding an A Record Set.
View the added record set in the record set list and ensure that the status of the record set is Normal.
Add another record set to allow access to your website using www.example.com.
The Record Sets page is displayed.
Retain default settings for other parameters. For detailed descriptions of the parameters, see Adding an A Record Set.
View the added record set in the list and ensure that the status of the record set is Normal.
The DNS service provides authoritative DNS servers for domain resolution.
After you create a public zone, an NS record set is generated, which specifies the DNS servers provided by the DNS service.
If DNS servers of the public domain name are not the same as those in the NS record set, the DNS service will not be able to resolve the domain name. You must change the DNS servers of the domain name on the registrar's website.
Generally, the changes to DNS servers take effect within 48 hours, but the time may vary depending on the domain name registrar's cache duration.
Query the DNS servers provided by the DNS service
The DNS console is displayed.
The Public Zones page is displayed.
Locate the NS record set. The DNS servers provided by the DNS service are displayed under Value.
Change the DNS servers
Log in to the domain name registrar's website and change the DNS servers to those provided by the DNS service. Refer to the domain name registrar's documentation for detailed operations.