How can I disable the default Azure Web App homepage for security purposes? Is there a specific setting or method similar to the webdisablehomepage option used for Azure Function Apps?

Jayakumar R 40 Reputation points
2025-04-24T12:30:12.88+00:00

How can I disable the default Azure Web App homepage for security purposes? Is there a specific setting or method similar to the webdisablehomepage option used for Azure Function Apps?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 5,395 Reputation points Microsoft External Staff Moderator
    2025-05-05T08:48:20.52+00:00

    Hi @Jayakumar R
    Currently, there is no dedicated Azure setting to disable the default page for Web Apps, unlike Azure Functions, which offer the AzureWebJobsDisableHomepage setting. For Web Apps, the recommended and supported approach is to deploy your own custom content. https://stackoverflow.com/questions/20303567/azure-website-default-page-my-sites-title/20339051
    Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    0 comments No comments

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.