You can visit https://{yourwebsitename}.scm.azurewebsites.net
to check if your app files are deployed to site/wwwroot
foler in Kudu server.
If your app files are deployed to folder site/wwwroot/appname
. You need to check the Path mappings
of your Application Settings. Then in the Virtual applications and directories
section, You need to change your Physical path
to "site/wwwroot/appname". You can find more details in this blog.
If above doesnot work out. You can do below steps to show more error messages and troubleshoot the issue.
- Go to Your Web App in Azure> App Service logs >turn on Detailed Error Messages.
- In the Web Config file add
<customErrors mode="Off" />
under <system.web> tag, add <httpErrors errorMode="Detailed"></httpErrors>
under <system.webServer> tag. And update the web.config file to your azure web app.
Check out this thread for details.