You can resolve a domain name to the public address of an SLB instance.
For example, the domain name of your website is www.abc.com and the website is running on an ECS instance with the public IP 18.104.22.168. After creating a Server Load Balancer instance, a public IP 22.214.171.124 is allocated to the instance. You have to add the ECS instance hosting the website to the backend server pool and resolve the domain name www.abc.com to 126.96.36.199. We recommend that you add an A record resolution (resolve a domain to an IP address).
- Log on to the Alibaba Cloud DNS console.
- Click Add Domain Name to add a domain name.
- On the Basic DNS page, click Configure in the Action column of the target domain name, and complete the DNS configuration.