Unable to access webmail even though the webmail.domain.com dns exists

I have added both the mail.domain.com DNS A record AND the webmail.domain.com A record both pointing to my IP (of course the domain.com is my domain :stuck_out_tongue: ) but accessing webmail won’t work and neither will it do the SSL on it either, keeps telling me that the webmail.domain.com doesn’t exist but it does! Driving me crazy!