Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Linux Web App Default Page Isn't getting replaced

I've deployed an asp.net core 2.2 webapp to azure linux appservice using VS2019 deployment.

It was successful, but my front page is still Default Azure Page, and none of the controllers are working.

What am I missing?

I get the same result by running devops build/release.

I had to set environment variable WEBSITE_WEBDEPLOY_USE_SCM = false to be able to deploy the app. I tried looking for Default Documents page on azure to remove the default page, but the azure page for it is gone.

I FTP'ed onto server, my app is there, there is no sign of any default.html.

How do I get my site to actually run and display after deployment success?

like image 314
Elvis Skensberg Avatar asked Sep 18 '25 06:09

Elvis Skensberg


1 Answers

You need to check the Startup Command in your Azure App Service configuration settings. Replace

YourApp.dll

with your applications dll name.

enter image description here

like image 67
DeveloperHeroes Avatar answered Sep 19 '25 21:09

DeveloperHeroes