Your server_name needs to match the CNAME record you created, not the target of the CNAME.
server_name
CNAME