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.
- https://leifengblog.net/blog/how-to-install-apache-http-web-server-on-azure-ubuntu-virtual-machines/
- https://claytonshieldsjr.medium.com/create-a-linux-virtual-machine-web-server-in-azure-be3783fbdbc3
- https://blog.jineshkumar.com/how-to-host-your-static-website-using-apache2-on-a-linux-machine-deployed-on-azure