We deliver high-performance hosting with honest, transparent pricing. No fake $1 offers or unlimited storage myths—just real solutions for professionals

How to Install Apache 2 on Ubuntu 18.04

Apache is the most popular web server software in use today.  Its popularity is earned through its stability, speed, and security.  Most likely if you are building out a website or any public facing app, you’ll be using Apache to display it. At the time of this writing, the most current offering of Apache is 2.4.53, and it is the version we will be using to install on our Ubuntu.  Let’s get started!

Step 1: Update and Upgrade the apt tool to ensure we are working with the latest and greatest.

sudo apt update && upgrade

Step 2: Install Apache and select Y when prompted.

sudo apt install apache2

Step 3:  Now that we have installed Apache we have to start the service.

systemctl start apache2

Step 4: Enabling Apache will automatically start the web server whenever the server is turned on.

systemctl enable apache2

Verify Apache by visiting the server’s IP or hostname; you’ll see Apache’s default page.

There are multiple ways to set up Apache to specifically meet your needs.  As a Superfasthost customer, you’ll enjoy the 24/7/365 support along with knowledgeable technicians at your fingertips to answer any questions you may have!  Check out what we can do for you!

  • 56 Users Found This Useful
  • Web Server, Ubuntu, Linux, Apache2, Configuration, Files
Was this answer helpful?

Related Articles

How to Manage Your Hosting Packages in WHM

This article will teach you how to create, modify and delete hosting package presets within...

Why Did the Server Block My IP?

In this article, we will discuss how and why a VPS server or Dedicated server might block an IP...

How to Edit Your DNS Hosts File

One of the most powerful tools available to anyone working on their site during a migration is...

What is DNS

What is DNS? The Domain Name Service (or DNS) is the key to the presence of your server on...

How To Enable Server Backups in WHM

ne of the most important things you can do to protect your server against data loss is regular...

Powered by WHMCompleteSolution