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.

preguntada hace 2 meses139 visualizaciones
3 Respuestas
1
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses
  • 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. :-)

respondido hace 2 meses
  • 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
INGENIERO DE SOPORTE
respondido hace 2 meses
profile pictureAWS
EXPERTO
AWS-SUM
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas