Reputation: 85785
I am using azure and have created a Windows 2016 server VM(not the classic mode). I have installed iis and opened up port 80. I can hit my ip and get the IIS page.
Now I am trying to host one of my very simple sites(per html page, with js/bootstrap).
I put it in IIS and set to an ip address(this was given to me as an option) instead of unassigned and left port 80.
I then went to namecheap and put my public ip from azure as my A record and in Azure I created a DNS Name and used that as the CNAME (for * and www) but I still get "not found" when I got to the domain name.
Upvotes: 0
Views: 63
Reputation: 9401
I did a test in my lab and I could browse the Website from my Azure with my own domain. Steps are below:
2. Configure a DNS name and static IP for the VM:
4.Just wait a moment, I can browse it from my own domian:
Hope this helps!
Upvotes: 0