I have enabled private end point for WebApp and blocked public access, what is the way i can alllow website to be accessed from publicly

AJMAL ELLATH 60 Reputation points
2024-10-02T14:51:41.5233333+00:00

I have enabled private end point for WebApp and blocked public access, what is the way i can alllow website to be accessed from publicly, no custom domain configured,

firewall&application gateway available.

appreciate your support.

ajmal

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
983 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 18,466 Reputation points
    2024-10-02T21:03:55.09+00:00

    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:

    1. 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.
    2. 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.
    3. 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


0 additional answers

Sort by: Most helpful

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.