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 184.108.40.206. After creating a Server Load Balancer instance, a public IP 220.127.116.11 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 18.104.22.168. 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.