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.
Static web app frequently down because of DNS lookup failure (custom domains)
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:
And here you can see all incidents in the last week:
Any idea what's wrong?
-
Anthony Chu - MSFT 861 Reputation points Microsoft Employee
2022-02-20T01:00:50.337+00:00
1 additional answer
Sort by: Most helpful
-
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.