Skip to content
Home / Apache / Minimal working Apache host setup

Minimal working Apache host setup

Just enough working example setup to get You running and catch errors.

<VirtualHost *:80>
    ServerName example.com
    ServerAlias www.example.com
    DocumentRoot /var/www/example.com
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>