Download Apache2 Web Server

The world's leading HTTP server for powerful, scalable web hosting.

Get the Latest Apache2 Versions

Download the latest stable version of Apache2 for your preferred platform. Use the table below to find the right version for your operating system:

Latest version Download links
2.4.63 httpd-2.4.63.tar.bz2
httpd-2.4.63.tar.gz
Announcement2.4.html

What is the best hosting for Apache2 setup?

Looking for a reliable and high-performance environment for your Apache2 installation? Our VPS hosting solutions are tailored to meet your needs:

Installing Apache2 on eServer.net VPS

This is a simple step-by-step guide to install Apache2 on various operating systems provided by eServer.net VPS servers.

Debian 12

  1. Update the package list:
    sudo apt update
  2. Install Apache2:
    sudo apt install apache2 -y
  3. Enable and start Apache2:
    sudo systemctl enable apache2
    sudo systemctl start apache2
                

AlmaLinux 9

  1. Update the system:
    sudo dnf update
  2. Install Apache2 (httpd):
    sudo dnf install httpd -y
  3. Enable and start Apache2:
    sudo systemctl enable httpd
    sudo systemctl start httpd
                

CentOS Stream 8

  1. Update the system:
    sudo dnf update
  2. Install Apache2 (httpd):
    sudo dnf install httpd -y
  3. Enable and start Apache2:
    sudo systemctl enable httpd
    sudo systemctl start httpd
                

Rocky Linux 9

  1. Update the system:
    sudo dnf update
  2. Install Apache2 (httpd):
    sudo dnf install httpd -y
  3. Enable and start Apache2:
    sudo systemctl enable httpd
    sudo systemctl start httpd
                

Ubuntu 24

  1. Update the package list:
    sudo apt update
  2. Install Apache2:
    sudo apt install apache2 -y
  3. Enable and start Apache2:
    sudo systemctl enable apache2
    sudo systemctl start apache2
                

FreeBSD 13

  1. Update the system:
    sudo pkg update
  2. Install Apache2:
    sudo pkg install apache24
  3. Enable Apache2 in rc.conf:
    echo 'apache24_enable="YES"' | sudo tee -a /etc/rc.conf
  4. Start Apache2:
    sudo service apache24 start

Note:

Many server control panels, such as cPanel, Plesk, and others, support LAMP stacks, which include Apache2, for easier setup and management.