user3742622
user3742622

Reputation: 1067

I can't handle S3 static site hosting with my domain

I've seen a lot of manuals about this question and especially AWS' official docs

My route53 records are: .

I have been waiting for 24 hours, but nothing changes... So I did everything from AWS' official docs but mydomain.com goes to nowhere... Help, please.

Upvotes: 0

Views: 1060

Answers (2)

jpajenski
jpajenski

Reputation: 51

The problem could be with the Name Servers set on your domain.

If you transferred your domain to AWS from somewhere else, you should go into route 53 and go to Registered Domain, then your domain. You'll see the nameservers listed on the right.

Make sure those match the NS records in your hosted zone.

Upvotes: 2

idancali
idancali

Reputation: 867

You have to create a CNAME record, not an A record. When you enable redirection on your bucket, you're actually entering a bucket name, not a url - even if the bucket name is a domain.

Incidentally, I recently wrote a Node module called awsome that does what you're trying to do, with one single line of code. Check it out and let me know if it helps.

Upvotes: 1

Related Questions