Assign domain. problem with access with domain name

Hi all,

I have a VM on digitalocean provider in which i have installed Grafana. I can access the platform with IP address. I have a subdomain which i redirected to the my IP address. I checked it with DNS Propagation Checker that DNS is OK. Also i changed grafana settings in .ini file

The public facing domain name used to access grafana from a browser

domain = my.domain

But i cаn’t accsess Grafana with the my domain. I can access only with IP address.
Can anyone help me?