Hostname preparation
Before setting up anything related to your load balancer, make sure you test that production hostnames meet the following criteria:
- Based on the priority order of DNS records, they will receive the intended amount of traffic.
- Each hostname is covered by an SSL/TLS certificate.
After confirming each of these conditions are met, you can proceed with setting up your load balancer.
Depending on your preferences and infrastructure, you might route traffic to your load balancer in different ways:
- For most customers, it's simpler to create the load balancer on the hostname directly (
www.example.com
). - However, you could also create the load balancer on another hostname (
lb.example.com
) and then route traffic using aCNAME
record ontest.example.com
that points tolb.example.com
.