Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Virtual machine - Azure, setting up web server

I have installed a windows server 2012 virtual machine. However it seems as though IIS is not set up, and it is not set up for the web, hence when I type the URL into the address bar, I get nothing back.

How can I make the server web ready?

Thanks.

like image 700
bobo2000 Avatar asked Feb 09 '13 02:02

bobo2000


People also ask

Can you host a website on a virtual machine?

If your web hosting requirements aren't directly supported by the Azure Web app platform, you can leverage virtual machines to customize and control every aspect of the web server. Learn how to create, configure, and manage virtual machines on Linux and Windows that host web apps.

Can I host my website on Azure?

Azure App Service enables you to build and host web applications in the programming language of your choice without managing infrastructure. Learn how to create a website through the hosted web app platform in Azure App Service.

Is Microsoft Azure is a web server?

Microsoft Azure Web Sites is a web-hosting platform that supports multiple technologies, and programming languages (. NET, node. js, PHP, Python). Users with Microsoft Azure subscriptions can create Websites, and deploy content and code into the Web sites.

How do I Create a web service in Azure?

Open the Azure portal menu and click on Create a resource. Select Web App from the list of available resources. If the option is not visible, enter web app in the Search the Marketplace textbox and select it from the results. Then, click on Create.


1 Answers

The reason is that by default a Virtual Machine is created with only the RDP port open in the Windows Azure firewall.

If you want to be able to browse to your machine from outside Azure you have to open up the firewall by going to the machine in the Windows Azure Management Portal, switching to the endpoints tab and adding a TCP endpoint with public port 80 and private port 80 (you may consider opening 443 as well if you need SSL).

This will allow traffic through the firewall onto your machine on the ports that you open and, if you have configured IIS, access to the web server.

like image 174
Yossi Dahan Avatar answered Oct 28 '22 16:10

Yossi Dahan