Ensure that the correct DNS label is assigned to the IP address. You need to change it manually if it is referring to an incorrect value.
In the Azure portal, go to your nodeResourceGroup (MC_<resource-group>_<cluster>_<location>).
Open the nginx-ingress-ingress-nginx-controller LoadBalancer IP address > Configuration.
NOTE:You can list the Kubernetes IP addresses by using the kubectl get pods -n <ingress-namespace> command.
Specify the DNS name label.
Click Save.