Hello @AJMAL E ELLATH Can you please provide more information on how you set up your private endpoint for your static web application?
without a custom domain, you can use Azure Application Gateway in combination with a firewall. Here’s a step-by-step guide to achieve this:
Steps to Allow Public Access:
- Configure Application Gateway:
- In the Azure portal, create an Application Gateway in the same region as your WebApp.
- Add your WebApp to the backend pool of the Application Gateway. Use the private IP address of the WebApp’s private endpoint.
- Configure HTTP settings to ensure proper routing of traffic to your WebApp.
- Set up listeners and routing rules to direct incoming traffic to your WebApp.
- Set Up Firewall Rules:
- you want to make sure that your Network Security Group (NSG) allows traffic from the Application Gateway to your WebApp.
- Configure the Web Application Firewall (WAF) on the Application Gateway to protect your WebApp from common threats.
- Access Restrictions:
- In the Azure portal, navigate to your WebApp, go to Networking > Access Restrictions, and configure rules to allow traffic from the Application Gateway’s public IP address.
You can review this doc: Integrate Application Gateway with App Service for detailed steps.
Hope that helps.
-Grace