Host Static Website on AWS EC2 | Domain Mapping | Deployment's Beginner Guide | [Hindi] #1

Опубликовано: 02 Март 2026
на канале: DevOps with Prashant
651
20

Deploy a static website on AWS EC2 using Nginx — no backend required. In this step-by-step beginner tutorial we launch an EC2 instance in a public subnet, install and configure Nginx, replace the default page with your website files, and map a custom domain (A record) to the server IP so your site is accessible on the web.

What this video covers
• Launch an EC2 instance (public subnet) with public IP.
• Setup SSH key to the ec2 and Configure security group for HTTP (80) & SSH (22).
• Login to the Server via SSH key.
• Install Nginx and Start and enable nginx service
• Replace the default Nginx page with your static site (HTML, CSS, JS) — upload via scp or rsync
• Configure DNS: add an A record pointing your domain to the EC2 public IP
• Quick checks and troubleshooting to make sure your site loads in browser

Why watch this
• Perfect for beginners who want a simple, real-world walkthrough of hosting a static site on AWS
• Fast, practical, and focused — no frameworks or backend needed
• Prepares you for the next video where we’ll add free HTTPS (Let’s Encrypt)

Prerequisites
• Basic SSH/keypair knowledge
• A registered domain (Route53 or any DNS provider) — we show how to map it

Nginx Install:
sudo apt update -y
sudo apt install nginx -y

Nginx start & enable:
sudo systemctl enable nginx
sudo systemctl start nginx


If this video helps, please LIKE, SUBSCRIBE, and hit the bell 🔔 for more deployment & DevOps tutorials. Questions or issues while following along? Drop them in the comments — I’ll help.

#HostWebsite #DomainMapping #EC2 #AWS #Nginx #StaticWebsite #WebHosting #DevOps #BeginnerTutorial #AWSGuide #deployment #devopswithprashant