Project 2: deploy a multi-page website
Mission: use the EC2 + Amazon Linux 2023 + Nginx approach from the guided build, but make the decisions yourself. Use hints, your notes and official documentation instead of a click-by-click recipe.
Repository link
The repository contains a small static website designed for deployment practice. It includes a homepage, an About page, a custom 404 page, and supporting assets. For this challenge, deploy the public website files to your EC2 server rather than relying on the existing GitHub Pages URL.
Expected source structure
static-website-demo/ ├── index.html ├── about.html ├── 404.html ├── css/ │ └── style.css ├── js/ │ └── theme.js ├── README.md └── LICENSE
Note: 404.html is an available error-page file, but Nginx does not automatically use it for every missing URL without suitable server configuration.
Expected outcome
These four core targets define a successful independent deployment:
Running EC2
A workshop EC2 instance serves the second project.
Public live URL
A URL in the form http://YOUR_PUBLIC_IP opens from a separate browser or device.
Multi-page content
The homepage and About page work, while styling and linked assets load correctly.
Custom 404 behaviour
404.html is present. Serving it automatically for missing routes may require Nginx configuration.
Remember: Replace YOUR_PUBLIC_IP with the actual public IPv4 address assigned to your Amazon EC2 instance.
Challenge Rule
You may use this workbook and official AWS documentation. Try to diagnose the issue independently before asking for help. Do not copy the mentor's private key or ask for unrestricted permissions.
When requesting help, explain what you attempted, which command or browser test you used, what happened, and what you think might be causing the issue.
