Start-here.page=about.post
๐ Date: 2025-09-04
๐ง Tools: Cloudflare, Zoho Mail, AWS EC2, Elastic IP, Apache, Certbot (Letโs En$
How It Started:
Todayโs goal was to protect my website. I decided to start with Cloudflare and $
The Problem
To have a proper setup I needed:
Email address for the domain
DNS records for website + mail
Static IP for my AWS instance
SSL certificate installed directly on the server
The Fix
- Domain + SSL via Cloudflare:
Bought a domain on Cloudflare
Activated free SSL included in the plan
- Zoho Mail setup:
Used Zohoโs free plan (5 GB/mailbox, up to 5 accounts)
Authorized DNS with Zoho and added MX records (mx.zoho.eu)
Configured priority levels (10 โ 20 โ 30) for redundancy
- DNS Records:
Added www as a CNAME alias
Set MX for mail delivery
Bound domain to AWS Elastic IP (so DNS wonโt break after reboot)
- Elastic IP:
Allocated Elastic IP in AWS
Attached it to the EC2 instance to prevent IP changes
- SSL Certificate (Letโs Encrypt + Certbot):
Installed certbot on the EC2 instance
Generated SSL certificate with certbot
Configured Apache to use HTTPS
What I Learned:
Cloudflare free plan already includes Universal SSL, but server-side SSL is s$
MX records define where domain mail goes, priority numbers ensure fallback or$
Elastic IP is essential for stable DNS pointing to AWS.
Certbot automates SSL certificate creation and Apache integration.
Real setup = domain โ Cloudflare proxy โ AWS server with SSL.
โ Personal Note:
All of this was mostly for learning โ now my portfolio website has HTTPS.
Top comments (0)