Skip to content

Apache. Quick start

Apache is a web server that handles HTTP requests and reads .htaccess on every request. It is compatible with most PHP-based CMSs (WordPress, Joomla, Drupal) without extra configuration. A good fit if your project relies on .htaccess or the classic PHP-FPM combo.

Operating modes

In BeAdmin, Apache runs in one of two modes:

  • Standalone (Apache without Nginx). Apache listens on 0.0.0.0:80 and 0.0.0.0:443 directly — incoming requests reach it straight from the internet.
  • Nginx + Apache (Nginx in front). Apache listens on 127.0.0.1:8808 (HTTP) and 127.0.0.1:8843 (HTTPS), while Nginx accepts external requests and proxies them to Apache.

The mode is picked automatically during installation: if Nginx is already installed in the panel, you get the combo; otherwise — standalone.

Independent mode

Apache and Nginx can also run as independent services with their own sites. This mode kicks in if you set free ports manually via Installation settings while installing Apache (e.g. for an internal site).

Installing the module

In the side menu open Web serversApache. Before the module is installed you see a welcome screen with the Install button — it runs the installation with auto-detected mode and ports (Nginx present — combo, otherwise — standalone).

Custom installation

The gear icon next to the button opens the Installation settings dialog where ports and IP can be set manually:

  • IP address — the interface Apache listens on. Defaults to 0.0.0.0 (all interfaces).
  • Non-TLS port and TLS port — default to 80/443 for standalone mode and 8808/8843 for the Nginx + Apache combo.

Creating a virtual host

For now, BeAdmin lets you create virtual hosts only in expert mode — the <VirtualHost> config is edited by hand in a syntax-highlighted editor.

Minimal flow:

  1. In the side menu of the Apache section, click Create virtual host.
  2. In the Initialize host configuration dialog that opens, enter the site's domain name (e.g. example.com) and click Proceed.
  3. Adapt the template to your site.
  4. Click Create.

To delete a host, use the trash icon next to its name in the side menu.

For details on enabling PHP, working with .htaccess, and editing the <VirtualHost> template, see Apache. Virtual hosts in expert mode.

See also

BeAdmin © 2025. All rights reserved.