Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

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.

512 MBMinimum memory
Ubuntu 24.04 LTSBase image
80/tcp, 443/tcpPorts
Apache-2.0License

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.

Apache HTTP Server on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back