Installing Nginx/Apache
Install and perform initial configuration of both Nginx and Apache web servers on a fresh Linux server instance.
What is a Web Server?
A web server is software that stores website files (like HTML, CSS, images) and delivers them to users' web browsers. When you type a website address, a web server processes your request and sends back the content.
In this lesson, we'll focus on two popular web servers: Nginx and Apache.
Nginx or Apache? A Quick Look
Both Nginx and Apache are excellent choices for serving web content, but they have different strengths:
- Nginx: Known for high performance, efficiency, and scalability. It's often used as a reverse proxy, load balancer, and for serving static content.
- Apache: Highly flexible and feature-rich with a vast module ecosystem. It's very popular for dynamic web applications.
You'll often find them used together!
All lessons in this course
- Installing Nginx/Apache
- Hosting Static Websites
- Basic Virtual Host Configuration
- Enabling HTTPS with Let's Encrypt