Internationalized domain names containing non-ASCII characters in Static WebApps

Stephen Ponsford 0 Reputation points
2025-01-31T21:54:13.8033333+00:00

Having an issue where unable to use Internationalized Domain Names in SWA, whether using the original or the punycode version and just getting domain validation failing.

A work around I was hoping to use was a name redirection from my domain provider to Azure SWA url however that then causes SSL certificate errors.

Is anyone successfully using Internationalized Domain Names whether punycode or not in SWA either through being successful using custom domain name registration or some other work around?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,068 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 2,390 Reputation points Microsoft Vendor
    2025-02-04T03:47:01.46+00:00

    Hi @Stephen Ponsford
    Thanks for the question and using MS Q&A platform.
    Azure Static Web Apps does not support Internationalized Domain Names (IDNs), even those that include non-ASCII characters. From the context, domains in Unicode, including Punycode domains, are not supported. This situation can result in domain validation errors when trying to use those types of domains. Alternative approaches, while as a workaround you indicated creating a domain redirection from your domain provider to the Azure Static Web Apps URL, this might cause SSL certificate problems, which shows that the SSL/TLS certificates are not configured correctly for the domain that is being redirected to.
    references:
    https://techcommunity.microsoft.com/blog/appsonazureblog/domain-and-certificate-bindings-for-idn-hostnames-in-azure-app-service/4016358
    https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/wcf-and-internationalized-domain-names#wcf-and-internationalized-domain-names
    https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#about-domains

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.