You can add an A record to a domain name and point the domain name to the IP address of the Web server. This ensures that your website is accessible.
Log on to the Alibaba Cloud DNS console
In the left-side navigation pane, click Manage DNS. On the Domains tab, click a domain name to open the DNS Settings page.
Add an A record
In this example, dns-example.com is the primary domain name. If both www.dns-example.com and dns-example.com are required for website access, you must add an A record to each domain name.
- On the DNS Settings page, click the Add Record button.
- Add an A record to www.dns-example.com, set the hostname to www, and point www.dns-example.com to 184.108.40.206, which is the IP address of the Web server.
Add an A record to dns-example.com, set hostname to @, and point dns-example.com to 220.127.116.11, which is the IP address of the Web server.