Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Apache HTTP Server

Apache HTTP Server

Apache HTTP Server is the original web server, in continuous development since 1995. Module-based architecture, .htaccess overrides, mod_rewrite, and three decades of compatibility. Still powers a quarter of the public internet and ships as the default in cPanel, Plesk, and most Linux distros.

At a glance

4.1k

GitHub stars

66

Page views

319

Active installs

License Apache-2.0 Version Latest OS Ubuntu Server 24.04 LTS, Ubuntu Server 22.04 LTS, Debian 12, CentOS Stream 9, Fedora 40 Min RAM 1 GB IP IPV4,IPV6

Active installs is sample data (staging preview); real metric wires in before launch.

Default Locations

Web root: /usr/share/nginx/html

Configuration:

  • Debian/Ubuntu: /etc/apache2/
  • CentOS/Fedora: /etc/httpd/

Logs:

  • Debian/Ubuntu: /var/log/apache2/
  • CentOS/Fedora: /var/log/httpd/

Access

Open your browser: http://<server-ip>/

Service Control Commands

# Start Apache
sudo systemctl start apache2    # Debian/Ubuntu
sudo systemctl start httpd      # CentOS/Fedora

# Stop Apache
sudo systemctl stop apache2     # Debian/Ubuntu
sudo systemctl stop httpd       # CentOS/Fedora

# Restart Apache
sudo systemctl restart apache2  # Debian/Ubuntu
sudo systemctl restart httpd    # CentOS/Fedora

# Check status
systemctl start apache2         # Debian/Ubuntu
systemctl status httpd          # CentOS/Fedora

 

More in Web Servers

Related apps.

Deploy Apache HTTP Server now. From $2.48/mo.