How to host website on AWS?

Here we can discussing about to host a website on AWS Without any cost.

We are using Amazon S3 Bucket to host a free website.

Follow these simple steps to host your website on AWS S3 Bucket.

Step 1

Dot

Create An S3 Bucket with your domain name with publicly access permission and Upload your website on S3 Bucket.

Tooltip

STEP 1

Open the DNS management to create a hosted zone.

Tooltip

STEP 2

Create a hosted zone with your domain name  (Ex: mydomain.xyz)

Tooltip

STEP 3

Open domain provider nameserver and replace all with AWS nameserver.

Tooltip

STEP 4

Go to the Amazon CloudFront and create CloudFront Distribution for Web with S3 bucket endpoint URL.my-bucket.s3.us-west-2.amazonaws.com).

Tooltip

STEP 5

Edit CloudFront Distribution and Add your domain name (mydomain.xyz) in place of Alternate Domain Name.

Tooltip

STEP 6

Edit CloudFront Distribution and click on Custom SSL Certificate to enable SSL on your website.

Tooltip

STEP 7

Open AWS Certificate Manager and Create an SSL Certificate for your domain or subdomain.

Tooltip

STEP 7

Edit CloudFront Distribution and add Custom SSL Certificate.

Tooltip

STEP 8

Now go back to the hosted zone and create A record for the website domain with Alias Target of CloudFront domain name.

Tooltip

STEP 9

Wait, It may take some time and Open your domain URL in the web browser and check.

Tooltip

STEP 10

Thank for watching

Pink Blob

It's Done