简体   繁体   中英

Domain is not pointing to my static ip address in aws lightsail

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM