Custom Domain from Goddaddy does not work with Azure public IP

imdk 0 Reputation points
2024-05-01T21:37:26.3766667+00:00

I have custom domain from GoDaddy. i want to connect it to public IP that I have for a VM (linux) on Azure. However, even though I set the DNS records, domain does not work. When I visit it, it is unreachable. If i visit the public IP, then I can see my app is running. I am not using App Service, it is a plain Virtual Machine from Azure. I contacted GoDaddy support and they even updated the A records but it still does not work.

It is more than 2 days I am wasting my time. I also have an SSL certificate from Azure vault, but neither with or without SSL, the domain does not redirect to my server.

Could someone give any tips on what to do?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,197 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu katara 5,450 Reputation points
    2024-05-02T04:59:41.8433333+00:00

    Hi , Welcome to MS Q&A

    Can you please follow this doc to add custom domain to VM , it includes step by step process

    https://learn.microsoft.com/en-us/azure/virtual-machines/custom-domain

    Ref Image -->

    User's image

    Please check and follow , if any issue, let me know

    Thanks!