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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠