Azure / Azure/static-web-apps

Encountering NET::ERR_CERT_COMMON_NAME_INVALID error when accessing Azure-hosted website with 'www' subdomain, while it works fine without 'www'

Open
#1,318 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I am encountering an issue with my Azure-hosted static website where the 'www' subdomain does not resolve correctly. When I attempt to access my website using 'www' (e.g., [www.example.com](http://www.example.com/)), I encounter a NET::ERR_CERT_COMMON_NAME_INVALID error. However, when I access the website without the 'www' (e.g., example.com), it resolves and loads as expected.

I have purchased my domain from GoDaddy and have configured the DNS settings as per the guidelines. I'm reaching out for assistance in troubleshooting and resolving this issue to ensure that my website is accessible with 'www' as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.