I'm configuring a load balancer in Azure to distribute traffic to backend VMs for my web application (most likely just a singular VM actually). I'm a bit confused about the DNS setup. Here's what I have (I will use dummy names):
I've deployed a load balancer named "FlowerLoadBal" in the "UK South" region of Azure. I want users to access the web application using the subdomain "Flower.mydomain.com".
The load balancer has a public IP address associated with it. Here's what I'm planning to do in my DNS configuration:
A Record:
Host: FlowerLoadBal
Value: Public IP address of the load balancer
CNAME Record:
Host: Flower
Target: FlowerLoadBal.uksouth.cloudapp.azure.com
Is this the correct approach for configuring DNS to point to the Azure load balancer with a public IP? I believe this is correct. When they enter Flower.mydomain.com it should point them to the load balancer which will then send them onto the VM (after I configure it).
Are there any potential issues or improvements I should consider?