Skip to content

Domain name not propagating from EC2

0

I purchased a domain from Truehost. I have my express app running on AWS EC2. I have done a research online on how to connect an EC2 instance to a domain name. I have created A record and CNAME and used the nameservers in my Truehost dashboard. It's over 24 hrs and my domain name is not working.

3 Answers
0

Hi Nick,

To diagnose the issue, try the following steps.

  • To connect your domain to your EC2 instance, ensure you’ve created an A record in your Domain name DNS settings that points to your EC2 instance’s public IP address.

  • Double-check that your EC2 security group allows traffic on port 80 HTTP and port 443 HTTPS.

  • Test accessing your app via the EC2 public IP to ensure it's working correctly.

  • DNS changes can take up to 48 hours to propagate, so use a tool like DNS Checker https://dnschecker.org/ to monitor the status.

  • If the domain still isn’t working after this period, Clear your local DNS cache by running ipconfig /flushdns on Windows or restarting your browser.

https://www.freecodecamp.org/news/how-to-connect-a-domain-to-a-website-hosted-on-aws-ec2/

EXPERT
answered a year ago
  • Thank you for this. I have done all of the above configurations. Now checking on the DNS status, they all show red x.

  • DNS issues with a red X status verify your DNS records and nameservers, ensure correct security settings on your EC2 instance, and check DNS propagation can I know your domain name. could you please check dig command you can get more information

  • Ooh okay. This is my domain name matsure.co.ke

0

Looks like the domain matsure.co.ke isnt owned by anyone and hasnt been registered yet.

EXPERT
answered a year ago
  • No, I purchased the domain from Truehost on 24th.

  • But I have just contacted them and they've told me to wait for 24 hrs for it to propagate.

0

The domain is up and running now on Authoritative DNS servers. Did yo u solve your isssue ?

EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.