Virtual IP vs Inbound IP - what do you point DNS to?

BHOA EC 0 Reputation points
2024-11-19T18:23:22.82+00:00

I have setup a custom domain for an Azure webapp. When I look at the overview, it shows a specific IP for the Virtual IP address. However, when I look at Networking - there is a different IP address for "Inbound". Which one is supposed to be used for DNS records?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
778 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,180 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Silvia Wibowo 6,046 Reputation points Microsoft Employee Volunteer Moderator
    2024-11-19T22:24:06.1433333+00:00

    Hi @BHOA EC , I understand you have setup a custom domain for Azure Static Web Apps and wondering how to add DNS entry for it.

    If you're using Azure DNS, you can set it directly from Azure Static Web Apps portal: https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain-azure-dns#map-the-domain-to-your-website

    If you're not using Azure DNS, you can use CNAME and point it to Azure Static Web Apps URL: https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain-external#get-your-static-web-app-url

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    0 comments No comments

  2. rvinnakota 4,760 Reputation points Moderator
    2024-11-21T19:22:12.2233333+00:00

    Hi BHOA EC,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution.

    Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer.

    Issue:

    Virtual IP vs Inbound IP - what do you point DNS to?

     

    Resolution:

    I have a custom domain configured and this was only accessible by pointing the DNS records to the "Inbound IP".

    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.
    User's image


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.