Trying to apply knowledge from fcc to aws

I created a site and purchased a domain, created 2 S3 buckets, set up my dns records(herein I think is the problem), uploaded my index.html file, my pics etc… but I can’t get to my site via the domain name nor the endpoint in my bucket, I can reach it via the url to my index. Html page. I have tried to include cloud front but later disabled it. Www.hattfund.net is my domain.

Where are you hosting the domain?

Who are your domain service?

I am am using route 53 and s3.

It seems that your domain name is not resolving to the correct ip yet.
you may need to create/edit your record set on your domain hosted zone of your route 53, so that the entry name for both hattfund.net will point to an alias target of your s3 bucket.
the entry could be something like:
Name: hattfund.net
Alias: Yes
Alias Target: hattfund.net.s3-website-us-east-1.amazonaws.com

it usually takes a while till the dns propagate the changes…

I think the example from aws explains the required steps
https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

I have followed the walkthrough and verified step by step🤬. I did find that my redirect document was Index.html not index.html. I changed that and my endpoint link worked. I still can’t access from http://hattfund.net or www.hattfund.net or hattfund.net. I can access from http://hattfund.net.s3-website-us-east-1.amazonaws.com/ and from https://s3.amazonaws.com/hattfund.net/index.html

I am waiting for my DNS records to propagate but thus far the issues remain.

That capital I was an issue. I do know that. It has been spelt that way all week:(

Do you see any issues with the DNS records?

hattfund.net works for me

it works for me as well

I’m not sure if when I worked on the records yesterday something changed:(. It worked for me after I worked on the records but the when they propagated it stopped, ugh.

Also wanted to say thank you for helping me work on this.

So what I ended up doing was getting rid of my S3 bucket’s and creating a virtual instance with a Linux machine. Creating an Apache server. And then uploading my file to the Apache server. I may have accidentally put up the wrong version of the webpage. But it works. Now I just need to upload the finalized version of the webpage to my Apache server and all will be well. I appreciate all the help that I got from different people in the forum. Pretty rewarding feeling getting that first site up and knowing that it’s running and that you can access it from Hattfund.net or www.hattfund.net or from its IP address.

1 Like

Bro can you tell me how to start learning Aws ??
I don’t know how to start learning…

I figured out what I know from trial and error, if you have any specific questions feel free to ask. I watched a lot of YouTube and amazon has some good tutorials also. Sign up for the free tier and go make yourself a virtual machine(don’t lose the private key) and then watch how to make a server and execute a page, it is pretty easy. Have questions? Ask. Use ec2, I like it better than s3(buckets) but that’s me. Good luck!

I have to learn aws lambda for my project, language used is Java. Can you please suggest some online courses which fulfills my need.