How to access Web Apps through IP Address?

Muhammad Uzair 1 Reputation point
2022-03-10T12:21:50.777+00:00

I have Web App created which I'm accessing through domain.

I need to access my APP service through IP address as well but didn't found any possible way so far.

When I try to access through virtual IP mentioned under "Properties" tab. It shows the (attached) 404 page.

Thanks!

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

3 answers

Sort by: Most helpful
  1. Ryan Hill 28,101 Reputation points Microsoft Employee
    2022-03-11T18:19:49.07+00:00

    I'm assuming you're using multi-tenant and not an App Service Environment. Outbound IP addresses on multi-tenant environments aren't static and subject change. For this reason, it's always best to use the FQDN, as @ShamirC suggests. This includes binding a custom domain using a CNAME record. However, if you're still wanting access through IP, one method is using IP-based SSL binding which Secure a custom DNS Record with TLS/SSL binding | Microsoft Learn walks your through. Another option is to integrate your app service with a NAT gateway.

    These, and any other options, all additional overheard. So, I wouldn't advise going that route unless there's a strange reason why the FQDN wouldn't work.


  2. Waleed 1 Reputation point
    2022-12-23T22:23:47.557+00:00

    Have you found any Answers please? it is so important to me

    0 comments No comments

  3. Bruce (SqlWork.com) 64,741 Reputation points
    2022-12-24T16:52:09.04+00:00

    If you website uses host headers you will need the add the ipaddress as a valid host header for the site. Also if you use ssl, you will need a certificate tied to the ipaddress.

    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.