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.
Create An S3 Bucket with your domain name with publicly access permission and Upload your website on S3 Bucket.
Open the DNS management to create a hosted zone.
Create a hosted zone with your domain name
Open domain provider nameserver and replace all with AWS nameserver.
Go to the Amazon CloudFront and create CloudFront Distribution for Web with S3 bucket endpoint URL.
Edit CloudFront Distribution and Add your domain name (mydomain.xyz) in place of Alternate Domain Name.
Edit CloudFront Distribution and click on Custom SSL Certificate to enable SSL on your website.
Open AWS Certificate Manager and Create an SSL Certificate for your domain or subdomain.
Edit CloudFront Distribution and add Custom SSL Certificate.
Now go back to the hosted zone and create A record for the website domain with Alias Target of CloudFront domain name.
Wait, It may take some time and Open your domain URL in the web browser and check.
Thank for watching