Step-by-Step Setup: deSEC.io + AWS (S3 + Route 53 + CloudFront + ACM)
⸻
step-by-step guide using deSEC.io as a free domain provider, to secure and serve a static S3 website via HTTPS using Route 53, CloudFront, and ACM
⸻
✅ Step-by-Step Setup: deSEC.io + AWS (S3 + Route 53 + CloudFront + ACM)
⸻
🧩 Step 1: Register Free Domain on deSEC.io
-
Visit https://desec.io
-
Sign up and verify your email.
-
Go to “Domains”, and request a new free domain like:
yourname.dedyn.io
⸻
🧩 Step 2: Set Up S3 Static Website
-
Go to Amazon S3.
-
Create a new bucket (e.g., raj-static-site).
-
Enable static website hosting:
• Index document: index.html
-
Upload your website files (e.g., index.html, style.css, etc.)
-
Set permissions:
• Make the files public (or configure CloudFront OAI for private access).
⸻
🧩 Step 3: Configure Route 53
-
Go to Route 53 > Hosted Zones.
-
Create a new public hosted zone for:
yourname.dedyn.io
- Copy the NS records (Name servers).
⸻
🧩 Step 4: Point deSEC to Route 53
-
In deSEC DNS dashboard, go to your domain settings.
-
Replace deSEC’s default name servers with AWS Route 53 NS values (from step 3).
⸻
🧩 Step 5: Request SSL Certificate in ACM
-
Go to AWS Certificate Manager (ACM).
-
Request a public certificate for:
yourname.dedyn.io
-
Choose DNS validation.
-
ACM will give CNAME records.
-
Go back to Route 53 and add these CNAME records in your hosted zone.
⸻
🧩 Step 6: Create CloudFront Distribution
-
Go to CloudFront.
-
Create new distribution:
• Origin domain: Your S3 website endpoint (not the bucket name)
• Set Viewer Protocol Policy to: Redirect HTTP to HTTPS
• Alternate domain name (CNAME): yourname.dedyn.io
• Select the SSL certificate from ACM.
- Deploy the distribution and wait until it’s active.
⸻
🧩 Step 7: Add Route 53 Alias Record
- In your Route 53 hosted zone:
• Add a new record:
• Type: A (Alias)
• Alias target: Your CloudFront distribution domain
⸻
✅ Final Testing:
• Go to:
• It should:
• Load your static S3 website
• Be served over HTTPS
• Use your custom deSEC domain
⸻
메타데이터
- post_id
- 05fd726d4e4f
- slug
- step-by-step-setup-desec-io-aws-s3-route-53-cloudfront-acm-05fd726d4e4f
- url
- https://medium.com/@raj.mhmd/step-by-step-setup-desec-io-aws-s3-route-53-cloudfront-acm-05fd726d4e4f
- canonical_url
- https://medium.com/@raj.mhmd/step-by-step-setup-desec-io-aws-s3-route-53-cloudfront-acm-05fd726d4e4f
- author_url
- https://medium.com/@raj.mhmd
- status
- ok
- fetched_at
- 2026-09-05 06:16:23