An Azure service that delivers high availability and network performance to applications.
Hello @ Raghu Nagabandi,
Thank you for reaching out to Microsoft Q&A.
You’re on the right track—there’s no magic switch in the Azure IP resource to swap out “.westeurope.cloudapp.azure.com” for your own domain, but you can absolutely make your custom hostname (e.g. app.contoso.com) resolve to your NGINX Ingress IP. Here are the common, industry-standard approaches:
Reserve a static public IP
• In your LoadBalancer Service definition, pick a Standard SKU public IP and give it a DNS label if you like (e.g. myapp-lb.westeurope.cloudapp.azure.com).
• That label still lives under the Azure suffix, but the IP behind it is stable.
Map your custom hostname
Option A – A record in your external DNS
• Create A record: app.contoso.com →
• Pros: lowest DNS lookup latency, you control the pointer directly.
Option B – CNAME record
• Create CNAME: app.contoso.com → myapp-lb.westeurope.cloudapp.azure.com
• Pros: if you swap out or reassign the IP to another load balancer (but keep the same Azure DNS label), you don’t have to touch your public DNS again.
(Optional) Private DNS zone for internal name resolution
• If you also need your in-VNet or on-prem clients to resolve app.contoso.com to the same IP privately, spin up an Azure Private DNS zone (contoso.com), link it to your VNet, and mirror the same A or CNAME record there.
Advanced / managed-host scenarios
• If you need more features global failover, geo-load balancing, DDOS protection, wildcard hosts or built-in certificate management you can front your NGINX Ingress with Azure Front Door, Traffic Manager or Application Gateway and map your custom domain there instead.
Reference list
• Use a static public IP with AKS NGINX Ingress: https://docs.microsoft.com/azure/aks/ingress-tls?tabs=azure-cli#use-a-static-public-ip-address
• Route multiple hostnames on one IP with NGINX Ingress: https://docs.microsoft.com/azure/aks/aksarc/create-ingress-controller?tabs=azure-cli#use-ingress-to-route-http-traffic-to-multiple-host-names-on-the-same-ip-address
• Custom DNS in Container Apps (for comparison): https://learn.microsoft.com/azure/container-apps/ingress-overview
If the answer is helpful, please click "Accept Answer". If you have extra questions about this answer, please click "Comment".