Deployed Loki grafana,but not be able to run on a public url

I have deployed Loki grafana stack with persistent 5GB storage in a gcp cloud. I have changed loki-grafana service configuration and running on a public IP(changed service type from Cluster IP to LoadBalancer), then point a domain on it. When I am running on a public IP, grafana login page is opening but when I am Running via domain(public url), it is not openng.