PHP web app: replace Windows container with Linux one

Alexander Hitrov 21 Reputation points
2021-02-16T19:04:55.077+00:00

Hi,

is it possible?

I am particularly not interested in deleting the app 'cause existing *.azurewebsites.net domain must be preserved.

I have issues with .htaccess (rewriting) as well as php.ini settings.

Thanks!

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
389 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
636 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 25,666 Reputation points Microsoft Employee
    2021-02-17T06:14:50.743+00:00

    Hi @AlexanderHitrov-2710,

    I'm assuming you are referring to the kind of your app service plan. If so, then unfortunately no, this type of workflow is not supported. You would have to create a new Linux app service plan and redeploy your code to the new app service plan. You can also download your files from your existing app service if you don't access to the source code repo. I will say that deleting the app and creating the new one is quick process but can't 100% guarantee you'll have the same name, there is a risk. The guaranteed route is to use a custom domain, that way it doesn't matter what <app-name> is. Check out Scott Hanselman blog about his migration process.

    Regards,
    Ryan

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful