Help Center> Web Application Firewall> FAQ> Website Domain Name Access Configuration> Domain Name and Port Configuration> What Are the Precautions for Configuring Multiple IP Addresses for Backend Servers?

What Are the Precautions for Configuring Multiple IP Addresses for Backend Servers?

  • The service ports to be protected must be the same if you want to configure multiple backend server IP addresses to the same domain name.
  • When a domain name is added, WAF supports addition of multiple server IP addresses. WAF routes legitimate requests back to origin servers in polling mode, reducing the pressure on the servers and protecting the origin servers. For example, two backend server IP addresses (IP-A and IP-B) are added. When there are 10 requests for accessing the domain name, five requests are forwarded by WAF to the server identified by IP-A, and the other five requests are forwarded by WAF to the server identified by IP-B.
  • Cloud WAF instances do not support the health check function. When a server identified by an IP address is faulty, WAF still forwards traffic to the server identified by this IP address. As a result, some services are affected. If you want to use the health check function of the server, you are advised to use both ELB and WAF. For details about how to configure ELB, see Backend Server (Enhanced Load Balancer). After ELB is configured, the EIP of ELB is used as the IP address of the server to connect to WAF for health check.