Home > Software engineering >  I'm getting ERR_NAME_NOT_RESOLVED from my website
I'm getting ERR_NAME_NOT_RESOLVED from my website

Time:02-03

I have a domain that I got from NameCheap: enter image description here

Although, when I reach the website through S3 static website hosting it's working:

enter image description here

Any ideas?

EDIT:

Route53:

I have one A record that traffics to <id>.cloudfront.net:

enter image description here

I have one NS record that traffics to 4 NS URLs.

I have one SOA record.

I have one CNAME record.

CodePudding user response:

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:www.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

CodePudding user response:

If you bought flerr.io. - you dont need to create a new zone for app.flerr.io. (you can, but its not required - this is called DNS delegation). You just need to create a record named www.app inside flerr.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 records
  • dig 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 the flerr.io. zone and ignore the app.flerr.io. zone you created. If your trying to use the zone app.flerr.io. (and its been setup properly in flerr.io.) you would just create the www record.

  • Related