I have a domain that I got from NameCheap: www.app.flerr.io.
I configured the domain in AWS with Route53, CloudFront and S3.
I uploaded the static website to the relevant S3 bucket.
When I try to reach my website, I get the following error: ERR_NAME_NOT_RESOLVED.
Although, when I reach the website through S3 static website hosting it’s working:
Any ideas?
EDIT:
Route53:
I have one A
record that traffics to <id>.cloudfront.net
:
I have one NS
record that traffics to 4 NS URLs.
I have one SOA
record.
I have one CNAME
record.
2
Answers
ERR_NAME_NOT_RESOLVED usually refers to a DNS problem.
You already verified that S3 URL is working correctly.
Now, verify that Cloudfront is working correctly by pasting the Cloudfront URL in your browser (
<id>.cloudfront.com
or something similar).If both of them are working, means that your problem is indeed DNS (and therefore Route53) related.
Use any DNS Lookup page to see if your domain (flerr.io) is correctly set up.
https://mxtoolbox.com/SuperTool.aspx?action=a%3awww.app.flerr.io&run=toolpage
With the information given that’s the best we can do, if you share your Route53 Hosted Zones we could see if anything is wrong
If you bought
flerr.io.
– you dont need to create a new zone forapp.flerr.io.
(you can, but its not required – this is called DNS delegation). You just need to create a record namedwww.app
insideflerr.io.
as an A or CNAME to your destination.When i use dig to test the DNS i get the following results:
dig flerr.io.
shows A recordsdig app.flerr.io.
shows A records – and appears to be its own DNS delegation zone (was that deliberate)?dig www.app.flerr.io.
does not return any records – this is why you cant resolve your site.I think the solution for you is to create the
www.app
records in theflerr.io.
zone and ignore theapp.flerr.io.
zone you created. If your trying to use the zoneapp.flerr.io.
(and its been setup properly inflerr.io.
) you would just create thewww
record.