title: How to setup Aks Ingress with Azure Private DNS
body: <p>I created AKS with internal ingress Nginx. This comes up like below in the cluster.</p>
  
  <p><a href="https://i.stack.imgur.com/c3L9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c3L9s.png" alt="enter image description here"></a></p>
  
  <p>Then I created Azure private DNS Service.  In the Azure private DNS service, I created a 'Record set' like </p>
  
  <p>Blockquote</p>
  
  <p><a href="https://i.stack.imgur.com/SuNKb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SuNKb.png" alt="enter image description here"></a></p>
  
  <p>Technically, i should be able to access LoadBalancer External ip with promotion.mydomain.com (as example).  Insted of this, I'm having '502 Bad Gateway' error when i hit <a href="http://promotion.mydomain.com" rel="nofollow noreferrer">http://promotion.mydomain.com</a> in the browser.  Any advice?</p>