Understanding Ubuntu Server: Building Your First Web Server

What Is Ubuntu Server?
Hello.
In this lesson, we'll explore what Ubuntu Server is and understand the basic structure of how websites operate. Many people imagine servers as large, expensive computer rooms or equipment, but in reality, a server can be an old computer at home, a mini-PC, NAS device, or even a cloud server.
The key point isn't the size of the computer—it's about providing services to other people.
This lesson will cover essential concepts before we begin our hands-on setup.
What Is a Server (Server)?
A server is a computer that provides services to other computers.
In contrast, the computer or smartphone using the service is called a client.
For example, when you visit a blog:
Your computer acts as the client
The computer hosting the blog serves as the server
Most internet services we use—like YouTube, Naver, e-commerce sites, game servers, and KakaoTalk—operate on the same principle.
In essence,
clients send requests (Request), and servers respond (Response).
Once you understand this basic concept, everything else will become much clearer.
About Ubuntu
Ubuntu is one of the Linux operating systems.
You can think of it like Windows or macOS—it's a type of operating system.
Other common operating systems include:
Windows
macOS
Ubuntu
Debian
Rocky Linux
AlmaLinux
Ubuntu stands out because it's:
Free to use
Easily installed
Has abundant online resources
Beginner-friendly
Widely used by businesses
That's why it's one of the most popular Linux distributions for both personal and enterprise servers.
Ubuntu Desktop vs. Ubuntu Server
Ubuntu comes in two main versions:
Ubuntu Desktop
This is designed for general users.
It includes a desktop environment, web browser, file manager, and functions similarly to Windows.
Ubuntu Server
Ubuntu Server is optimized for server operations.
Instead of a graphical interface, it's managed through the terminal. It has fewer unnecessary programs, uses less memory, and offers better performance.
This version is most commonly used when running websites or setting up development servers.
How Do Websites Work?
When you enter a website address in your browser, the following sequence occurs:
① You input the website URL.
② DNS locates the IP address for that domain.
③ Nginx receives the request.
④ PHP executes.
⑤ MySQL retrieves the necessary data.
⑥ HTML is generated.
⑦ Your browser displays the page.
All of this happens within less than a second.
Key Programs You'll Learn
Ubuntu
The operating system that runs all programs.
Nginx
The web server that first receives browser requests.
It serves static files quickly and also performs Reverse Proxy functions.
PHP
A programming language used to create dynamic websites like forums, blogs, and e-commerce sites.
PHP-FPM
A program that connects Nginx and PHP for faster and more efficient execution of PHP code.
MySQL
A database system that stores user information, posts, comments, product details, and more.
Let's Encrypt
A service that provides free SSL certificates to enable HTTPS on your site.
Reverse Proxy
A technology that allows running multiple services like PHP, Node.js, Spring Boot, and Flask on a single server.
This is now nearly essential for modern web services.
The Roles of Web Servers and Programs
Many beginners confuse the roles of Nginx and PHP.
To simplify, think of it this way:
Nginx is like a receptionist
PHP is like an employee handling actual work
MySQL is like a warehouse storing information
The browser request flows as:
Browser → Nginx → PHP → MySQL
After processing, the result returns to the user.
Why Run Your Own Server?
Building and running your own server offers several benefits:
Install any program you want
Host multiple websites simultaneously
Directly manage server performance
Save on operational costs
Gain practical experience
For developers, this hands-on experience is a significant competitive advantage.
The Server You'll Build in This Course
By the end of this course, you'll be able to build a server that includes:
Ubuntu Server installation
SSH remote access setup
Nginx installation
PHP-FPM integration
MySQL installation
HTTPS implementation
Free SSL certificate auto-renewal
Reverse Proxy configuration
Connecting Node.js services
Connecting Spring Boot services
Connecting Flask services
Hosting multiple domains
Running multiple websites on a single server
We'll work step-by-step toward building a production-ready web server suitable for real-world use.
Conclusion
In this lesson, we've covered what Ubuntu Server is and the overall structure of how web services operate. While some terms may seem unfamiliar at first, you'll become comfortable with them as you install and configure each component.
Understanding the fundamentals is key.
In the next lesson, we'll begin installing Ubuntu Server, setting up SSH access, creating users, and updating the system.
Let's start building your own web server today.
Key Takeaways
A server is a computer that provides services to others.
Ubuntu is one of the most widely used Linux operating systems.
Ubuntu Server is optimized for web service operations.
Nginx is the web server handling browser requests.
PHP runs dynamic website programs.
MySQL stores data.
Reverse Proxy allows running multiple services on a single server.
This course will guide you through building a production-ready Ubuntu web server.
Next Lesson Preview
2nd Lesson: Installing Ubuntu Server and Basic Setup (SSH, User Creation, System Updates)
FAQ
What is a server?
A server is a computer that provides services to other computers or devices, such as hosting websites or running applications.
Why choose Ubuntu Server for web hosting?
Ubuntu Server is free, easy to install, has abundant resources, and is widely used by businesses, making it ideal for both beginners and professionals.
Korean Source
This article is an English localization of a Korean-language report from BlogScore. Original: [Ubuntu 서버 구축] 1강. Ubuntu Server란? 리눅스 서버와 웹서버의 구조 이해하기