web app not reflecting on azure app service

S, VAMSI KRISHNA 31 Reputation points
2021-07-17T06:43:32.66+00:00

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.
7,779 questions
{count} votes

Accepted answer
  1. BhargaviAnnadevara-MSFT 5,466 Reputation points
    2021-07-18T10:51:11.153+00:00

    @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 18,561 Reputation points MVP
    2021-07-17T07:02:35.18+00:00

    You may follow the troubleshooting explained here: deploy-ftp


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.