Set default page on Azure Virtual Machine

on Nov 06, 2022 10:00 PM


I have purchased a domain from crazydomains Australia when I run the domain (not using the actual domain name in this question) and connect to a Azure Virtual Machine I get the IIS Server screen if I add the SchoolLog.aspx to the URL in my shortcut it runs the login screen correctly.

I have setup the Web Site in the IIS manager under sites and added the site name and the physical path to where the Schoollog.aspx is located but it doesn't allow the login but the IIS Server screen still.

what am I missing

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Nov 06, 2022 10:05 PM

Hi kevinf,

You need to set the default web page in IIS.

1. Add index.html in wwwroot.

2. Add port 80 to windows firewall Inbound Rules.

3. Add port 80 to Azure NSG Inbound Rules:

For more details refer