Description
This project contains Terraform code that allows you to host a static website on AWS, with a certificate for secure traffic, and a redirect from the root domain to www. The project leverages S3 for hosting the content and redirection, CloudFront for CDN, ACM for the certificates, and Route 53 for DNS.
With this project, you are able to host a website in a cost-effective and secure manner, and have it up and running in no time.
The final result of the project is as follows:
- A secure website hosted on your domain
- Redirects from https://yourdomain.com to https://www.yourdomain.com
- Also, redirects from HTTP to HTTPS
- A cool project that elevates your AWS and Terraform knowledge
Github Repo
Click here for the public Github repo hosting this project.