- Newest
- Most votes
- Most comments
The issue you're experiencing is likely related to DNS propagation and caching. When you make changes to DNS records, it can take some time (usually up to 48 hours) for these changes to propagate globally. This explains why you can access the site using the direct ALB URL, but not yet with your custom domain.
The fact that nslookup and curl are working suggests that the DNS changes have started to propagate, but your web browser might be caching old DNS information. Here are some steps you can try:
- Clear your browser's cache and DNS cache on your computer.
- Try accessing the site from a different network (e.g., mobile data instead of Wi-Fi).
- Use a public DNS lookup tool to check if the correct IP addresses are being returned for your domain.
- Ensure that your Route 53 A record is correctly set up to point to the ALB.
- Double-check that you've updated all necessary nameserver records with your domain registrar (OVH in this case).
- Verify that your ALB security group allows inbound traffic on port 80 (HTTP) from all sources (0.0.0.0/0).
If the issue persists after 48 hours, you may want to:
- Confirm that your Route 53 hosted zone has the correct NS (Name Server) records matching those provided by AWS.
- Check if there are any CNAME records that might be conflicting with your A record.
- Ensure that your ECS tasks are healthy and the ALB target group is properly configured.
Remember, DNS changes can take time to fully propagate, so patience may be necessary. If the problem continues after trying these steps and waiting for propagation, you may need to contact AWS support for further assistance.
Sources
Domain name not resolving | AWS re:Post
How to enable HTTPS for domain name (http working) | AWS re:Post
Looks like everything is in working order now. Your domain name resolves to the same IP address as the load balancer.
Because you're using a .dev domain the browser is hard-coded to only connect to it using HTTPS, not HTTP. curl works because it does not have that restrictions.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
