I have a Windows Azure Virtual Machine. I am able to view my ASP.Net website on the virtual machine (localhost URL). When I ping my Windows Azure Virtual Machine IP I get timeout error.
My domain name is registered with an ISP but I would like to use that domain on my VM website.
Is it possible?
I actually want to know: –
-
How do I access my website outside the VM?
-
I also would like to setup my DNS name.
There are a couple of questions
If you create a real Virtual Machine, based on Windows Server (I guess, since your site is ASP.NET), then you need to redirect traffic on port
80to that machine. By default when you createVMonlyRDPis redirected to your VM, nothing else. You can achieve that in the ENDPOINTS tab of yourVMsettings:In your Windows Azure portal: –
I would normally use
CNAMEto point mywww.mydomain.comto themyvmname.cloudapp.net, like with normal Cloud Service development.However, if you really need to just run your ASP.NET website, I strongly recommend to try using the regular Cloud Service approach (with a WebRole) instead.
UPDATE
CNAME: http://en.wikipedia.org/wiki/CNAME_recordI usually add a
CNAMErecord forwww.mydomain.comthat points tomydeployment.cloudapp.netYou can use it from your domain registrar control panel.