Azure / Azure/static-web-apps

Availability Issues with Azure Static Web App After Migration (custom DNS)

Open
#1,643 5 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

## Description
After migrating our Hugo static website hosted on Azure Static Web Apps (free tier) to a different subscription, we're experiencing intermittent availability issues with our custom domain. The site is only accessible via the custom domain approximately 25% of the time, while it remains consistently accessible via the automatically generated Azure domain.

## Current Behavior
- Custom domain access works only ~25% of the time
- Frequent 404 errors when accessing via custom domain
- CSS/JS files failing to load with 404 errors
- Website works perfectly via the Azure-generated domain URL

## Expected Behavior
- Consistent and reliable access via custom domain
- All resources (CSS/JS) loading properly
- Same reliability as with the Azure-generated domain

## Steps to Reproduce
1. Access website via custom domain
2. Refresh multiple times
3. Observe intermittent 404 errors or missing CSS/JS resources

## Steps Already Taken
1. Removed old subdomain names
2. Created a new Static Web App in the new subscription
3. Completed domain validation for the new SWA and added the domain
4. Updated DNS settings accordingly
5. Verified DNS configuration is correct
6. Confirmed all DNS TTLs have expired

## Environment Details
- **Website Type**: Hugo static website
- **Hosting**: Azure Static Web Apps (free tier)
- **Configuration**: Using custom domain
- **Browser**: [All browsers tested show the same behavior]

## Additional Context
When tracing the CNAMEs, it appears Azure may be using Traffic Manager and load balancing on the backend. All caches should have expired by now as all TTLs have been cleared. Despite proper DNS configuration, the website remains inconsistently accessible via the custom domain.

domain name: https://zwc-dts.nl

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.