Hi Web Dev Junkie, I uploaded a folder with index.html in it and tried to run my static website but it gave me a 404 error. I removed the folder and just uploaded index.html and it works fine. How do I get it so it works with the folder? My code still has the arn with /* at the end of it which it should include the folder I uploaded.
it doesn't, the name just needs to be globally unique. So if I name my bucket "HelloWorld", you can't use that name anymore. ones you pop that sucker into a cname DNS does the rest.
Good job babe!!!
I'm using route53 as my DNS, how long does propagation usually take? I can't seem to use my domain at all been trying all week, great tutorial though!
It should not take long. I’d double check you have it configured correctly
I did everything in the video and I keep getting "This Site cant be reached" error. please help
You may need to set cors policies
Great stuff. You got a follow from me.
Great video man!
Hi Web Dev Junkie, I uploaded a folder with index.html in it and tried to run my static website but it gave me a 404 error. I removed the folder and just uploaded index.html and it works fine. How do I get it so it works with the folder? My code still has the arn with /* at the end of it which it should include the folder I uploaded.
Maybe you need the folder name in the url your accessing, such as /my-folder/index.html ?
@@WebDevCody Good idea but it gave me an error "The IndexDocument Suffix is not well formed"
good video for nubbie
Why does a bucket need to be names the same as the domain?
that's just how AWS has it setup... they probably have a good reason internally to dns resolution or something
it doesn't, the name just needs to be globally unique. So if I name my bucket "HelloWorld", you can't use that name anymore. ones you pop that sucker into a cname DNS does the rest.