I have created a VM to be as IIS server for a website, so I installed DNS and IIS.
I created also the zone and A records which was enough to resolve the domain in my On-prime server.
Then I created an Azure DNS zone ref: https://learn.microsoft.com/azure/dns/dns-domain-delegation
Here are the records of the Azure DNS Zone
the NS and SOA records are the defaults and the two A records I created myself.
What do I need further? to resolve the domain to the Azure server? I tested the website inside the VM it is working locally good, so it is a problem isin DNS and IP.
I mean, the website is not resolving even if I wrote the IP:port it will not open the website
what is the problem ??
Note: while I'm installing DNS on the VM it says that it is noticed that there is no Public IP assigned and it was advising to assign Public IP, but I thought that is because the DNS service only is reading the local IP of the VM which is like 10.0.0.4
I think there is a virtual adapter which is leading to the public... or do I need to assign the public IP in the NIC of the VM ??