For better search use the following links:
Traffic distribution between CDN providers
Traffic distribution between IP-addresses
Traffic distribution between CDN providers
If you use multiple CDN providers to deliver traffic to users, you can set the percentage of requests sent to the used CDNs in the DNS settings.
1. Create a zone with the necessary domain to configure its balancing.
2. Create a CNAME record for the first CDN resource. In the Weight in percents specify how many requests should be sent to this record.
For example, you want 40% of traffic to be delivered via the first CDN provider, where CNAME is weight.kb-support.com, which should be directed to "firstcdn".
In this case, the record configuration looks like this:
Note! There should be a dot (.) at the end of the Content field.
3. Then create a CNAME record for the second CDN resource. In the Weight in percents specify how many requests should be sent to this record.
Here, 60% of the traffic should be delivered via the second CDN provider, where CNAME is weight.kb-support.com, which should be directed to "secondcdn".
Note! There should be a dot (.) at the end of the Content field.
In this case, the record configuration looks like this:
4. Now the traffic is distributed between two CDN providers.
Traffic distribution between IP-addresses
For example, to direct 70% of traffic from mydomain.Example.com to 192.168.1.1, and the remaining 30% of traffic to 192.168.2.2.:
1. Create a zone with the necessary domain to configure its balancing.
2. Create an A record with mydomain.Example.com in the Name field;
3. In the Content field, specify the IP address 192.168.1.1 and in the Weight field, the percentage of traffic to be directed to it - in our case, 70%.
4. Create a second A record with mydomain.Example.com in the Name field;
5. In the Content field, specify the IP address 192.168.2.2 and in the Weight field, the percentage of traffic to be directed to it is 30%.
6. Done! 70% of traffic of mydomain domain.Example.com will be directed to 192.168.1.1 and the remaining 30% - to 192.168.2.2.