---
title: "Apache HTTP Server web hosting on a VPS · CloudSat"
description: "Deploy Apache HTTP Server on a CloudSat VPS: virtual hosts, .htaccess, mod_rewrite, TLS and reverse proxying on Ubuntu 24.04 with full root access."
url: https://cloudsat.io/apps/deploy-apache-http-server
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

# Apache HTTP Server on a VPS

Apache HTTP Server is the long-standing open-source web server: virtual hosts, .htaccess, mod\_rewrite, TLS and reverse proxying from one modular daemon.

[Deploy Apache HTTP Server](https://dash.cloudsat.io/console/deploy?image=app%3Aapache-http-server&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About Apache HTTP Server

Apache HTTP Server (httpd) is an Apache-2.0 web server built from loadable modules. Virtual hosts, `.htaccess` overrides, mod\_rewrite, mod\_ssl, HTTP/2 and mod\_proxy cover most hosting jobs without extra software.

Plenty of PHP apps still ship `.htaccess` rules written for Apache, which keeps it a safe default. A CloudSat VPS gives it a dedicated IP, NVMe storage and root access to every config file.

On Ubuntu the package is `apache2`: sites live in `/etc/apache2/sites-available`, and the default site answers on port 80 right after deploy.

## What you get with Apache HTTP Server

- Name-based virtual hosts for many sites on one IP
- Per-directory `.htaccess` overrides and mod_rewrite
- TLS through mod_ssl and HTTP/2 through mod_http2
- Reverse proxy and load balancing with mod_proxy
- Event MPM for many concurrent connections

## Apache HTTP Server use cases

- Host PHP apps that depend on `.htaccess` rules
- Serve several small sites from one VPS
- Put a TLS front door before an app server

## After you deploy Apache HTTP Server

1. When the server shows **Running**, open `http://<server IP>` to see the default Apache page.
2. SSH in as root (the password lives in the **Access** tab) and add a virtual host file under `/etc/apache2/sites-available`.
3. Enable it with `a2ensite`, add modules with `a2enmod`, then run `apachectl configtest` and `systemctl reload apache2`.
4. Point your domain at the server and request a certificate with Certbot's Apache plugin.

## Apache HTTP Server ports

Open these in your firewall if you use one: `80/tcp HTTP`, `443/tcp HTTPS`.

## Apache HTTP Server FAQ

### Apache or nginx for PHP sites?

Apache reads `.htaccess` files, which many PHP apps use for rewrites and access rules. nginx ignores them, so those rules would need converting first.

### How do I add HTTPS?

Point a DNS record at the server, then run Certbot with its Apache plugin. It fetches a Let's Encrypt certificate, edits the virtual host and schedules renewal.

**Disclaimer.** The Apache HTTP Server project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Apache HTTP Server

[All apps in Web servers](https://cloudsat.io/apps/category/web-and-proxy-servers)

- [NGINX](https://cloudsat.io/apps/deploy-nginx): Web servers NGINX is the open-source web server and reverse proxy that serves static files, terminates TLS and balances traffic across app servers with low memory use.
- [LAMP](https://cloudsat.io/apps/deploy-lamp): Web hosting The LAMP app installs Apache, MariaDB and PHP with the lamp.sh script, plus a `lamp` command that adds virtual hosts and databases.
- [OpenLiteSpeed](https://cloudsat.io/apps/deploy-openlitespeed): Web servers OpenLiteSpeed is the open-source edition of LiteSpeed Web Server: fast PHP through LSAPI, server-level LSCache, HTTP/3 and Apache-style rewrite rules.
- [Apache Tomcat](https://cloudsat.io/apps/deploy-apache-tomcat): Web servers Apache Tomcat runs Java web applications: deploy a WAR file and Tomcat serves servlets, JSP and WebSocket endpoints, with a manager app for deployments.
- [Algernon](https://cloudsat.io/apps/deploy-algernon): Web servers Algernon is a single-binary web server written in Go, with HTTP/2, QUIC, Lua handlers, Markdown and templates built in, plus a bundled database.
- [Angie](https://cloudsat.io/apps/deploy-angie): Web servers Angie is a drop-in nginx replacement built by former nginx developers, adding automatic HTTPS, a JSON metrics API, a web console and dynamic upstreams.
