Skip to content

AWS Lightsail help

0

Hello I am trying to use AWS Lightsail to build a website using Wordpress.

When I click on lightsail > domain > set up website, I follow the 4 steps however it comes out with this error message:

"We encountered an error while configuring the Let's Encrypt SSL/TLS certificate on your instance castlesurf.co in the ap-southeast-2 Region. Try again later. We are having trouble locating your DNS records. If the DNS records were recently created, wait a few minutes and try again."

I have a hosted zone and have tested the record and castlesurf.co works.

I have also followed these steps: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/migrate-dns-domain-inactive.html

please help

2 Answers
2

Hello.

I tried checking the NS record on the following website, but the name could not be resolved.
This means that the hosted zone is not configured correctly or is unusable.
https://www.nslookuptool.com/#NS&castlesurf.co

If you check the NS record using the "whois" command, you can check the following values.
Does this value match the value in the hosted zone's NS record?

whois castlesurf.co
....
Name Server: ns-1293.awsdns-33.org
Name Server: ns-998.awsdns-60.net
Name Server: ns-1763.awsdns-28.co.uk
Name Server: ns-27.awsdns-03.com
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
  • when I go into: domains & dns and click on my dns yes the values match

  • My hosted zone is: ns-45.awsdns-05.com. ns-1331.awsdns-38.org. ns-619.awsdns-13.net. ns-1950.awsdns-51.co.uk.

    so no they do not match. Please help. Should I delete my hosted zone and start again?

1

Are you using Route 53 or are you managing your DNS within Lightsail? https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-dns-in-amazon-lightsail.html

It looks like there isn't an A-record for castlesurf.co , meaning that if this is the DNS name associated with your Lightsail instance, it won't be able to be resolved https://www.nslookup.io/domains/castlesurf.co/dns-records/

$ nslookup castlesurf.co 8.8.8.8
;; Got SERVFAIL reply from 8.8.8.8
Server:		8.8.8.8
Address:	8.8.8.8#53

** server can't find castlesurf.co: SERVFAIL

Although a WHOIS shows the NS records are set top AWS nameservers, which would suggest that your hosted zone is setup correctly https://who.is/whois/castlesurf.co

$ whois castlesurf.co
[Querying whois.nic.co]
[whois.nic.co]
Domain Name: castlesurf.co
Registry Domain ID: D7E30B360CF004DB8AFE8E67E559DA242-NSR
Registrar WHOIS Server:
Registrar URL: whois.gandi.net
Updated Date: 2024-06-30T07:35:03Z
Creation Date: 2020-09-15T08:11:27Z
Registry Expiry Date: 2025-09-15T08:11:27Z
Registrar: Gandi SAS
.
.
Name Server: ns-1293.awsdns-33.org
Name Server: ns-998.awsdns-60.net
Name Server: ns-1763.awsdns-28.co.uk
Name Server: ns-27.awsdns-03.com
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.