WebApp created on Linux OS always shows default page

2020-06-18T00:08:05.01+00:00

I have created my website using HTML and working fine locally. I deployed this on azure using FTP and when I hit https://{mywebappname}.azurewebsites.net, It shows me the default page instead of my website home page.

I also double check that wwwroot contains my index.html file only. Is there anything missing here? Why it is not showing my website's home page?

Help would be appreciated!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 26,721 Reputation points Microsoft Employee
    2020-06-24T18:12:59.463+00:00

    Welcome to Microsoft Q&A! Thanks for posting this question.

    Firstly, please pardon my delayed response.

    To identify and narrow down the issue, when your application fails to start or you want to check the logging from your app, check the Docker logs in the LogFiles directory. To log the stdout and stderr from your container, you need to enable Application Logging under App Service Logs. The setting takes effect immediately. App Service detects the change and restarts the container automatically.

    You can inspect the log files from Kudu console at https://yourwebsite.scm.azurewebsites.net/api/logs/docker and fetch more details on the issue

    Kindly ensure that you have added a Starup file; for .NET Core, expected value - the compiled DLL name as dotnet <myapp>.dll
    Please checkout this FAQ for more details on this topic.

    Another possibility, this could happen if the Oryx build that is running at start up is not able to detect you application files, in the case of DotNet Core it is looking for:

    1.PROJECT environment variable with a relative path to a project file.
    2..csproj in the root directory.
    3.Look for an ASP.NET project in the subdirectories. Kindly check this sample.

    Once again apologies for any inconvenience with this issue.
    Kindly let us know if the issue still persists or you need further assistance, we would be more than happy to assist you.


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.