web app not reflecting on azure app service

S, VAMSI KRISHNA 31 Reputation points

hello ,

i recently created a azure app service and i used winscp to connect ftp connection with my app service and replaced the files but not reflecting my web app still default site is returning . please advice

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

Accepted answer
  1. BhargaviAnnadevara-MSFT 5,376 Reputation points

    @S, VAMSI KRISHNA The recommended way to deploy a WAR file to Azure App Service is via the /api/wardeploy API with cURL/PowerShell. This API will expand your WAR file and place it on the shared file drive. Using other deployment APIs may result in inconsistent behavior.

    To deploy a WAR file to App Service, send a POST request to https://<app-name>.scm.azurewebsites.net/api/wardeploy. The POST request must contain the .war file in the message body. The deployment credentials for your app are provided in the request by using HTTP BASIC authentication.

    Here is an example for deploying via the Publish-AzWebApp cmdlet:

    Publish-AzWebapp -ResourceGroupName <group-name> -Name <app-name> -ArchivePath <war-file-path>

    (Replace the placeholders <group-name>, <app-name>, and <war-file-path> appropriately)

    Refer to this article for more details: Deploy WAR file


    If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Manu Philip 16,561 Reputation points MVP

    You may follow the troubleshooting explained here: deploy-ftp