Website Hosting Project Summary

Objective

The objective of this project was to configure a publicly accessible, HTTPS-secured static portfolio website hosted on AWS infrastructure. The website showcases professional network engineering and automation projects and is served at the custom domain www.davisdev.net.

Technologies and Services Used

Process Overview

1. S3 Bucket Configuration

A bucket named www.davisdev.net was created. Static hosting was enabled, and an index.html file was uploaded. A bucket policy was added to allow public s3:GetObject access. Object ownership was enforced, and ACLs were disabled.

2. Domain Registration and DNS

The domain davisdev.net was registered through Route 53. A duplicate hosted zone was mistakenly created, which caused DNS resolution issues. This was resolved by deleting the incorrect hosted zone and confirming the correct NS records were used.

3. HTTPS with ACM

An SSL certificate was requested in the us-east-1 region for both davisdev.net and www.davisdev.net. DNS validation was used, and records were automatically created in Route 53. The certificate was issued successfully.

4. CloudFront Distribution

A CloudFront distribution was created using the S3 static website endpoint as the origin. HTTPS was enabled using the custom SSL certificate. The alternate domain names (CNAMEs) www.davisdev.net and davisdev.net were added to the distribution.

5. DNS Routing

A record conflict in Route 53 was resolved, and alias A records were created pointing www.davisdev.net and davisdev.net to the CloudFront distribution. DNS propagation completed, making the site publicly available over HTTPS.

Challenges and Resolutions

Lessons Learned

Outcome

The website is now live at https://www.davisdev.net, served over HTTPS with global reach via CloudFront. The infrastructure is scalable, secure, and well-documented for future updates.