Static web app frequently down because of DNS lookup failure (custom domains)

Gianluca Gippetto 41 Reputation points
2022-02-18T17:43:40.113+00:00

I have two custom domains, one set a default domain, hosted on Namecheap (premium DNS name servers).
My website experiences frequent downtime period of about 30 minutes (one day it lasted several hours), even multiple times per day.

These are my DNS records for both the primary/default and secondary domain:
175965-image.png

And here you can see all incidents in the last week:
175938-image.png

Any idea what's wrong?

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

Accepted answer
  1. Anthony Chu - MSFT 861 Reputation points Microsoft Employee
    2022-02-20T01:00:50.337+00:00

    Sounds like this is a problem with the alias record and you should troubleshoot with Namecheap. The details you provided indicate that the CNAME records are resolving correctly. Alias is something Namecheap implements, where they look up the auto-generated hostname and return its IP as an A record.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Gianluca Gippetto 41 Reputation points
    2022-03-05T12:28:42.78+00:00

    I confirm this is a problem with the ALIAS implementation of NameCheap. As soon as I moved to CloudFlare (using CNAME flattening for the apex domain), the problems disappeared. I also kept my .org domain with NameCheap while my .com domain was with CloudFlare. I experienced an incident with the .org domain, while the .com domain resolved correctly.

    I'm now using CloudFlare name servers for both my .org and .com domain and I've not experienced any DNS issue for 5 days.

    I want to thank @Anthony Chu - MSFT for the help.


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.