<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Vahid Taslimi's Web log (وبلاگ وحید تسلیمی) - Windows Azure;Virtual Machine</title><link>http://old.taslimi.me:80/Tags/Windows%20Azure%3bVirtual%20Machine</link><description>Vahid Taslimi's Web log (وبلاگ وحید تسلیمی) - Windows Azure;Virtual Machine</description><item><title>How to host website in the Windows Azure Virtual Machine</title><link>http://old.taslimi.me:80/how-to-host-website-in-the-windows-azure-virtual-machine</link><description>&lt;p&gt;How to host website in the Windows Azure Virtual Machine &lt;p&gt;Well as you know Microsoft is now offering IaaS (Infrastructure as a service) services through the new Virtual Machine role. &lt;p&gt;It’s quite good and easy to get up and running with it but. In matter of minutes you can have your windows or linux virtual machine ready to be used. You can shut them off or backup their VHDs. &lt;p&gt;When I gave it a go to try it, the very first thing I wanted to do was to host a website on my VM. So once the VM was ready I remote deskoped in and added IIS and the other stuff. But when I tried to browse the site I got a 404 (page not found) error in the browser. &lt;p&gt;I spent some time figuring out what has gone wrong and finally came to know that by default there is  &lt;table cellspacing="0" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width="400"&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;&lt;a href="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image002_2.jpg"&gt;&lt;img title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: left; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image002" align="left" src="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image002_thumb.jpg" width="684" height="471"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br&gt;just one endpoint enabled for the VM and that’s used for remote desktop. &lt;p&gt;So bingo I had to log into my windows azure control panel and added a new endpoint for port 80 (http) and 443 (https). &lt;p&gt;&lt;a href="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image004_2.jpg"&gt;&lt;img title="clip_image004" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image004" src="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image004_thumb.jpg" width="665" height="458"&gt;&lt;/a&gt; &lt;p&gt;&lt;a href="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image006_2.jpg"&gt;&lt;img title="clip_image006" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image006" src="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image006_thumb.jpg" width="664" height="458"&gt;&lt;/a&gt; &lt;p&gt;&lt;a href="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image008_2.jpg"&gt;&lt;img title="clip_image008" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="clip_image008" src="http://taslimi.me/Media/Default/Windows-Live-Writer/How-to-host-website-in-the-Windows-Azure_13B90/clip_image008_thumb.jpg" width="678" height="468"&gt;&lt;/a&gt; &lt;p&gt;And that fixed the problem.  </description><pubDate>Sat, 15 Sep 2012 12:29:00 GMT</pubDate><guid isPermaLink="true">http://old.taslimi.me:80/how-to-host-website-in-the-windows-azure-virtual-machine</guid></item></channel></rss>