Our static site is in DigitalOcean and API server(using Zappa) is in AWS. The domain registrar is GoDaddy. To access the static site and API server, we enlisted the DigitalOcean and Route53 NameServers in GoDaddy. In Route53 we have added a CNAME
entry for www.bearete.com
pointing to bearete.com
. Sometimes the static server becomes unreachable and we get ERR_NAME_NOT_RESOLVED
error and after few hours it automatically becomes available. I have tried changing the TTL several times without any solid solution.
AWS Route53 HealthChecks
giving Failure: DNS resolution failed: the value returned by the DNS resolver does not resolve to an IPv4 address.
But when I add 8.8.8.8
or 8.8.4.4
to my network's DNS server it works every time. But we can't request every client to change their DNS settings.
I am clueless about this problem. Could anyone help me to sort this out? Thank you.