Hello, when changing an 'A' record to a CNAME record you must populate the DNS name field with the desired CNAME, for example '
www.example.com' which would seem to be the case for you, if I understood correctly. The next step would be to populate the 'Canonical name' field with the name of the corresponding 'A' record. For example. if you have an 'A' record byt the name of '
load-balancer.example.com' pointing to the address '1.2.3.4' (this would be your load balancer's front end address) thern you would populate that field with '
load-balancer.example.com'. This will result in '
www.example.com' to resolve to the '
load-balancer.example.com' which would then resolve to the IP address '1.2.3.4'. A takeway from this is that a CNAME record must resolve to an A record.
Hope this helps