Introduction
In this blog post, i will walk you through the proces of installing and customizing an Apache web server on linux system (Ubuntu). this project has helped me understand the practical steps of web server setup and give me hands on experience with customizing a live webpage.
step1: Chosing the Web Server
For this project, i decided to chose Apache due to its long-standing popularity, extensive documentation and ease of usage.
step2: Installing Apache
First of all, i had to update my package list to make sure the latest software version is available.
sudo apt update
Next, i installed Apache with the command
sudo apt install Apache2
step3: verifying the installation
To verify that Apache is runing, i use the command
sudo systemctl status apache2
The output confirmed that Apache is active and (running)
Then i opened the web browser and visited http://localhost
. The default Apache2 Ubuntu Default page loaded successfully, indicating that the server was working properly.
step4 Customizing the Default Index Page
I navigated the default document root buy using the cammand
cd /var/www/html
to open the file index.html
Then i use the command sudo vi /var/www/html/index.html
to replace the existing content with the following custom
body {
Welcome to My Apache Web Server!
this page was customize by[NAME]

After editing,saving and exiting the editor,i restarted Apache to apply the changes using the command
sudo systemctl restart apache2
I refresh the browser and saw my custom web page
step5: reflection and challenges
The process went smoothly overall, but I did encounter some issues: I initially forgot to use sudo, while editing the index file, which led to a “Permission denied” error, i also forgot torestarting ststemctl
after i installed Apache to ensure the server is running. Once I ran the editor with sudo, and restart the systemctl it worked perfectly.
This task taught me the basics of server configuration, the structure of a Linux web environment, and how small customizations can personalize your site. It was a great exercise in both system administration and web development.
Conclution
Setting up an Apache server is simpler than it seems! By following just a few commands, I was able to host my own web page. This experience has definitely boosted my confidence in working with Linux and web servers.
After reading should you have any question put it at the coment section
and if you have sujestion for improvment. thank you A.Ivo