How I Deployed an Apache Web Server on Ubuntu and Built an Eatery Website
Goldenboy58

Goldenboy58 @goldenboy58

Joined:
Jul 25, 2025

How I Deployed an Apache Web Server on Ubuntu and Built an Eatery Website

Publish Date: Aug 18
6 0

This is a short guide on how I set up an Apache server on AWS to host a simple eatery website.

Steps

Step 1: Launching an EC2 Instance on AWS

Sign in to your AWS Management Console.

Go to EC2 Dashboard → Click Launch Instance.

Choose Ubuntu Server 22.04 LTS (free-tier eligible).


Select t3.micro or t2.micro instance type.

Create a key pair (for SSH access).

Allow HTTP (port 80) and SSH (port 22) in the security group.

Launch the instance.

Step 2: Connect to Your EC2 Instance

Open a terminal (or use PuTTY on Windows).

Run:

ssh -i your-key.pem ubuntu@your-ec2-public-ip

Step 3: Install Apache Web Server

Once inside your Ubuntu instance:

sudo apt update
sudo apt install apache2 -y

Enable and start Apache:

sudo systemctl enable apache2
sudo systemctl start apache2

Open your browser and visit:

http://

g)

You should see the Apache2 Ubuntu Default Page

Step 4: Deploy the Eatery Website

Go to the web root directory:

cd /var/www/html
sudo nano /var/www/html/index.html

Remove the default index.html:

sudo rm index.html

Upload your Eatery website files (HTML, CSS, images, etc.) using:

scp -i your-key.pem -r ./eatery-website/* ubuntu@your-ec2-public-ip:/var/www/html/

Step 5: Test the Website

Open your browser again:

http://

Now, your Eatery Website should appear live

Final Result

You successfully:

Launched an Ubuntu EC2 instance

Installed Apache Web Server

Deployed your Eatery Website on AWS

Conclusion

Deploying an Apache Web Server on Ubuntu via AWS EC2 was an exciting hands-on project that gave me practical cloud computing experience. I learned how to:

Launch and configure an Ubuntu EC2 instance

Install and run the Apache Web Server

Upload and host my own Eatery Website online

This project showed me how quickly a simple idea can be brought to life in the cloud. With just a few steps, I transformed a local website into a publicly accessible web application. Beyond building the eatery site, this knowledge now empowers me to host more projects, experiment with cloud deployments, and explore more AWS services like domain setup, SSL certificates, and scalable infrastructure.

In short: I turned AWS + Apache into a real-world website deployment experience.

Comments 0 total

    Add comment