Can I run a html from a linux instance, and see it on the internet?

Roberto Antonio Siu Lemus 1 Reputation point
2022-01-25T04:19:25.07+00:00

How can I run my html in this instance, on the internet so I can see the changes I make to my html page right away using the public ip 20.127.116.200 that was assigned to this virtual machine.
siunetworksgithub or explain to me if I can configure a public DNS while learning this Azure platform.
.eastus.cloudapp.azure.com

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,082 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
757 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,476 Reputation points Microsoft Employee
    2022-01-27T03:11:56.463+00:00

    Hi anonymous user,

    If all you want to do is server static HTML content to a website, then Azure Static Web Apps is what you want to be using as that is what it's intended for. However, if you're intending to use a Linux VM, then I would verify your Apache configuration. I'm not well knowledgeable in how you configure Apache as a web server and accept requests, I referenced some links down below that should help. In addition, I added the azure-virtual-machines tag so that you can better assistance regarding that setup.

    0 comments No comments