Is IP Address of Azure App Service Static or It Can Be Changed by Azure?

Sedat Eyüboğlu 1 Reputation point
2020-11-22T10:04:47.783+00:00

Hi;

According to this post (https://azure.microsoft.com/tr-tr/blog/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws/),it is possiible to IP address of a App Service can change.

And suggested way is to use CNAME with my custom domain instead of A record which is regular way for the rest of the world.

The big problem is that; i saw many times that XYZ.azurewebsites.net can be inaccessable.

"Ping request could not find host XYZ.azurewebsites.net. Please check the name and try again."

I guess, because of this dynamic DNS management in Azure , something is changing and the cache on my enwironment is not reflecting to this change immediately. If it occures in my environment, it can occure in other environments in the world.

This is a big problem. We can overcome this case by using A record and IP address of App Service. But according to post above it can change. So what can i do. It should be simple to use a static IP address with my public web site as we do for many years. What do you think?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ben Gimblett 3,845 Reputation points Microsoft Employee
    2024-01-05T11:59:10.2233333+00:00

    Hi - thanks for the question
    The risk of the shared Ip changing is actually very very low (my understanding is that you'd usually see a new Ip as opposed to a change in the stamps IPs presented)

    However, App service supports IP SSL and this would give you a fixed IP against your cert REF https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-bindings#2-remap-records-for-ip-based-ssl