Skip to main content

Posts

Showing posts with the label AWS

Story of Hosting a Static Website on AWS

I recently went through this process of hosting a static website on Amazon Web Services (AWS) S3 bucket , mapping it to a custom domain, and enabling HTTPS and found it to be a bit complex, so I wanted to share my experience to help others. Since, I wanted to share my website with the world but I needed a place to host it. So, I turned to  AWS S3 , a storage service that could handle the job. First, I created a bucket  (like a digital container) on S3 and uploaded my website files. Initially, I made the bucket public for easy access, but this meant I had to type the entire file name (e.g., index.html ) every time I visited. This wasn't ideal. To avoid the long URL , I enabled  static website hosting  on the S3 bucket. This allowed me to access my website without specifying the filename. However, the provided URL was long and difficult to remember. Needing a better address , I registered a domain name (e.g., abc.com ) from a third-party li...