Reputation: 3408
Here are the steps I followed.
I purchased the domain in GoDaddy. I changed the name servers to point to lightsail.
In lightsail, I created a new DNS zone. Created A record with @ pointing to the static ip address. Created A record with www pointing to the static ip address.
It's been more than 24 hours.
When I access the website with the static ip address, it works fine. But, when I access it from the domain name, I'm getting the below error.
example.com’s server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN
Upvotes: 1
Views: 2646
Reputation: 3190
In case you're trying to access it over https you need to make sure you have opened port 443 in the Lightsail firewall - it is closed by default.
Find it under the networking tab of your Lightsail instance.
Upvotes: 1
Reputation: 725
If for some reason you deleted and recreated the domain under lightsail the NS records will change and you will need to update those with GoDaddy.
Upvotes: 1