When I ping my Lightsail static IP, return just once then timeout. So I cannot using my domain name

0
  1. My domain DNS setting is below. Registered in Google Domain

  2. My Lightsail instance domain setting Enter image description here

  3. My Lightsail Domain setting DNS Setting Guide from Lightsail

  4. Lightsail Domain A record A Record pointing to my Static IP of the instance

  5. Domain assigned to StaticIP(the instance's public IP) Domain assigned to StaticIP

Is there anything wrong above settings? I could not access the instance using my domain name for 4 days.

Please let me know what I have to do.

Thank you.

已提问 2 个月前139 查看次数
3 回答
1
已接受的回答

Hello.

Since the name can be resolved using the dig command, there is probably no problem with the DNS settings.

dig conebeamcenter.com

; <<>> DiG 9.16.1-Ubuntu <<>> conebeamcenter.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2951
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;conebeamcenter.com.            IN      A

;; ANSWER SECTION:
conebeamcenter.com.     60      IN      A       52.204.225.76

;; Query time: 0 msec
;; SERVER: 127.0.2.2#53(127.0.2.2)
;; WHEN: Wed Mar 13 13:41:44 JST 2024
;; MSG SIZE  rcvd: 63

I can access it with the HTTP status 200 using the curl command, so I think the access problem has been resolved.

curl http://conebeamcenter.com -I
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 13 Mar 2024 04:41:20 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 18661
Connection: keep-alive
X-Frame-Options: DENY
Vary: Cookie
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Cf-Team: 1ed7b67d2f000020912b618400000001

It can also be accessed using HTTP using a browser.
If you cannot access it, please try deleting your browser's cache.
a

Try configuring your Lightsail firewall to allow ICMP packets.
https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-firewall-and-port-mappings-in-amazon-lightsail.html

profile picture
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前
  • ICMP Ping is a supported protocol in Lightsail Firewall. I believe you mean, the user has NOT configured ICMP ping on their instance.

0

Thank you so much. The issue is resolved. :-)

已回答 2 个月前
  • Hi, You may want to delete the screenshots from your question since they show a lot of details about your resources and setup.

0

Hello,

Can you delete the cache in your browser and try to connect again. The website "http://conebeamcenter.com/" is accessible via domain name as well as public IP address.

AWS
支持工程师
已回答 2 个月前
profile pictureAWS
专家
AWS-SUM
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则