This topic describes how to add an A record for a website domain name. You can add an A record for a domain name that is easy to remember to map the domain name to the IP address of your website server. This way, users can access your website by using the domain name.
Procedure
Log on to the Alibaba Cloud DNS console.
On the Domain Name Resolution page, click the Authoritative Domain Names tab. Find the domain name for which you want to add an A record and click DNS Settings in the Actions column.
Add an A record.
In this example,
example.com
is a primary domain name. If you want users to access your websites by usingwww.example.com
andexample.com
, you must add an A record for each domain name.On the DNS Settings tab, click Add DNS Record.
Add an A record for
www.example.com
to map the domain name to the IP address of the website server. For more information, see Add a DNS record.ImportantIn this example, the Record Value parameter is set to 192.0.2.1. In actual configurations, you must set the Record Value parameter to the IP address of your website server.
Add an A record for
example.com
to map the domain name to the IP address of your website server. For more information, see Add a DNS record.ImportantIn this example, the Record Value parameter is set to 192.0.2.1. In actual configurations, you must set the Record Value parameter to the IP address of your website server.