Do I need to update domain IP after service plan upgrade

JG 20 Reputation points
2023-02-22T04:17:20.4566667+00:00

Hi

I’ve just upgraded my App Service Plan from S3 to P3V2

When I now look at the custom domains section on my web apps the IP address has changed. However everything still works as it did previously

do I need to update my DNS records to point to the new IP or will the old IP continue to work

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

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2023-02-22T06:33:58.0166667+00:00

    Hi,

    Yes, if your Inbound IP address changes and you have an DNS A record for your custom domain you need to update the record with the new address. If you are using only CNAME then no change is needed.

    The Inbound IP address shouldn't change when you switch to different SKU as you describe. Typically it would change if you update the TLS/SSL binding (e.g. switch from/to IP binding). Please see article below for more information:

    https://learn.microsoft.com/en-us/azure/app-service/overview-inbound-outbound-ips#when-inbound-ip-changes

    If the above is helpful please click Accept Answer.

    Thanks.

    -TP

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2023-02-22T06:28:14.0133333+00:00

    @JG

    Thank you for reaching out to Microsoft Q&A.

    If your custom domain is having CName recording pointing to the root URL of the web app i.e., (https://<app.name>.azurewebsites.net) then there is no need to update your DNS records since CName record is resolving to the Hostname of the webapp instead to particular IP.

    Update:

    App service Inbound public Ip won't be changed when you scale up your app service plan from standard to Premium SKU. your App inbound IP Might be changed due IP SSL based certificate got bind to the custom domain of your web app.

    As mentioned here in this documentation. By default, your app uses a shared public IP address. when you bind a certificate with IP SSL based app service will create a new dedicated Ip address for your app. If you mapped A record to your app then you need update your domain registry with the new dedicated Ip address.

    • Your app's Custom domain page is updated with the new, dedicated IP address. Copy this IP address, then remap the A record to this new IP address.
    • If you have an SNI SSL binding to <app-name>.azurewebsites.net, remap any CNAME mapping to point to sni.<app-name>.azurewebsites.net instead (add the sni prefix).

    Feel free to reach back to me if you have any further question on this.

    Thanks,

    Venkatesh.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.