A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Microsoft 365 and SharePoint Online are designed for internal collaboration and authenticated users. They are not intended for hosting anonymous public websites.
If you want a Microsoft-based public website, your main options are Microsoft Power Pages and Azure Static Web Apps. Power Pages is a low-code platform for creating secure, data-driven public websites, such as customer portals, registration sites, or self-service portals. It integrates with Microsoft Dataverse and other Microsoft services and is ideal when visitors need to interact with data or sign in.
Azure Static Web Apps is a cloud hosting service for modern HTML, CSS, JavaScript, and static site frameworks. It provides global hosting, custom domains, free SSL certificates, and integration with GitHub or Azure DevOps for automatic deployment. It is well suited for marketing sites, documentation, blogs, and other content-focused websites.
For more advanced or custom web applications, Azure App Service lets you host websites built with technologies such as ASP.NET, .NET, Node.js, Python, Java, or PHP. It supports custom domains, SSL, scaling, authentication, and integration with other Azure services.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin