Skip to content

Cannot get website running

0

Hello, I have been fighting with trying to get our website up and running. I previously had the domain and hosting at reigster.com and transferred it over. Now, all of the content is in S3 but it will not show up through the URL. I have followed the complete instructions for setting up a static website - now multiple times - but I cannot get it to work. Help is greatly appreciated as I am new to AWS and this is just a very simple personal site for college football. Thank you!!

Route 53 Enter image description here Enter image description here Enter image description here Enter image description here

asked 2 years ago348 views

3 Answers
2

Hello.

If you access the S3 static website directly with the URL below, the website will be displayed, so I think the S3 settings are correct.
http://thevictorstailgate.com.s3-website.us-east-2.amazonaws.com/
a

I think the problem is with the domain.
I tried resolving the NS record for "thevictorstailgate.com" on the following site, but it seemed that the NS record could not be resolved in any country.
https://www.nslookuptool.com/#NS&thevictorstailgate.com

When did you set up your domain?
If it hasn't been a while since you configured it, there may be a problem with domain propagation.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Thank you for the response. I'm not sure what that is. How do I impact that?

  • It did suggest that it was fully moved

  • Why did the result of this work in Japan with different NS?

    https://www.nslookuptool.com/#NS&thevictorstailgate.com

  • No, even if the website settings are fine, there is a problem with the domain, so you cannot access it with "http://thevictorstailgate.com/". Looking at the image you shared, it looks like the NS record settings are correct, but it may not be propagating due to some problem.

    whois thevictorstailgate.com
    ...
       Name Server: NS-1419.AWSDNS-49.ORG
       Name Server: NS-1589.AWSDNS-06.CO.UK
       Name Server: NS-345.AWSDNS-43.COM
       Name Server: NS-888.AWSDNS-47.NET
    

    By the way, do the "Name servers" values ​​displayed in the "Hosted zone details" item on the hosted zone screen match the NS record values? If they do not match, try rewriting the NS record value to the "Name servers" value. a

2

Your new name server records haven't propagated round the world yet https://dnschecker.org/#NS/thevictorstailgate.com

According to your screengrab of the Route 53 console this is set to 172800 seconds = 2 days. So it could take up to this long for the update to fully propagate.

You could try dropping that TTL figure and seeing if it makes a difference.

Probably too late now I know, but when you transferred the domain from your former provider to Route 53 you should have reduced the TTL on their end beforehand - see step 4 of https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/migrate-dns-domain-in-use.html

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • The name servers in the record did not match the hosted zone details for some reason. I have edited the record for the name servers and the SOA to be the same as the hosted zone details (I hope that is the correct way) and set the TTL to 7200.

2

I understand you're having trouble getting your website to show up after transferring it to AWS and setting it up as a static website in S3. Let's go through some potential issues and solutions:

  1. S3 Bucket Configuration:
  • Ensure your S3 bucket is configured for static website hosting.
  • Verify that the index document is set correctly (usually index.html).
  • Check that the bucket policy allows public read access to your files.
  1. Route 53 Configuration:
  • Confirm that your Route 53 hosted zone is set up correctly for your domain.
  • Verify that you have created the necessary A record alias pointing to your S3 website endpoint.
  1. DNS Propagation:
  • DNS changes can take up to 48 hours to propagate fully. Be patient and try accessing your site from different networks.
  1. CloudFront (if used):
  • If you're using CloudFront, ensure your distribution is correctly configured to point to your S3 bucket.
  • Check if you need to invalidate the CloudFront cache after making changes.
  1. Browser Cache:
  • Clear your browser cache or try accessing the site in an incognito/private browsing window.
  1. File Permissions:
  • Ensure all files in your S3 bucket have the correct permissions set to allow public read access.
  1. Index Document:
  • Verify that your index document (e.g., index.html) is present in the root of your S3 bucket.
  1. HTTPS Configuration:
  • If you're trying to access the site via HTTPS, ensure you have set up SSL/TLS certificates correctly.

If you've double-checked all these points and are still experiencing issues, you may want to review your AWS CloudFront settings (if used) or consider reaching out to AWS Support for more detailed troubleshooting.
Sources
Use your domain for a static website in an Amazon S3 bucket - Amazon Route 53
Use an Amazon CloudFront distribution to serve a static website - Amazon Route 53
Tutorial: Configuring a static website using a custom domain registered with Route 53 - Amazon Simple Storage Service
S3 static Website not syncing with my CloudFront | AWS re:Post

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years 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.