Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hello HOANG,
To create a custom 404 error page for Azure App Service's Virtual IP (VIP):
- Deploy a custom 404 HTML page in your app and configure error handling to serve this page (e.g., in
web.configfor .NET). - Use Cloudflare to mask or block direct IP access, forcing users to access only through the domain.
- Alternative solutions: Azure Application Gateway or Front Door can also intercept responses to display custom error pages for direct IP access.
- Clear DNS cache (
ipconfig /flushdns) to avoid cached IP mismatches.
References
If the information helped address your question, please Accept the answer.
Luis