1. AWS S3 - Static Website

1. Registry web-domain.

I propose to use next services: aws.amazon.com (Route 53), Namecheap or GoDaddy.


2. Connect your web-domain

Create Hosted zone on Route 53

IMG-20251206174709438.png

IMG-20251206174709610.png

Change Default to Custom DNS

IMG-20251206174709771.png

IMG-20251206174709901.png


3. AWS S3 bucket


Create AWS S3 bucket

IMG-20251206174710092.png

IMG-20251206174710103.png

IMG-20251206174710169.png
IMG-20251206174710228.png
IMG-20251206174710260.png


Setup Static Website hosting

IMG-20251206174710292.png
IMG-20251206174710390.png

IMG-20251206174710418.png
IMG-20251206174710441.png


Add bucket Policy

IMG-20251206174710472.png

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AddPerm",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/*"
        }
    ]
}

IMG-20251206174710501.png
IMG-20251206174710526.png


Test your bucket

IMG-20251206174710553.png

IMG-20251206174710710.png

IMG-20251206174710737.png


4. Create SSL Certificate

IMG-20251206174710786.png

IMG-20251206174710857.png

IMG-20251206174710889.png

IMG-20251206174710918.png

IMG-20251206174710971.png

IMG-20251206174710991.png

5. Cloud Front Distribution

Create Cloud Front Distribution

  1. Go to AWS CloudFront - and press Create distribution
    IMG-20251206174711016.png

  2. Origin domain - choose your s3 bucket and click "Use website endpoint".

IMG-20251206174711046.png

IMG-20251206174711102.png

  1. Add your Domain name and Choose certificate

IMG-20251206174711122.png

  1. It will be like this

IMG-20251206174711151.png

IMG-20251206174711183.png

IMG-20251206174711210.png

6. Connect CloudFront to Route 53

Set up the necessary DNS entries, either directly to the CloudFront distribution in Route 53 or as a CNAME in whatever DNS provider is hosting the zone for your domain.

IMG-20251206174711306.png