add general description, and info about default index page

This commit is contained in:
Matthew Saunders Brown 2024-04-11 13:17:26 -07:00
parent bebbb8ac1f
commit d85c9f998e

View File

@ -1,5 +1,7 @@
# Vhost Stack # Vhost Stack
This package installs & configures the Apache web server for hosting multiple websites on a server.
## Requirements ## Requirements
A minimal Ubuntu 22.04 server install. A minimal Ubuntu 22.04 server install.
It is recommended to first install base-stack which will configure a basic server set up including firewald & fail2ban to secure the server: It is recommended to first install base-stack which will configure a basic server set up including firewald & fail2ban to secure the server:
@ -15,6 +17,8 @@ bash install.sh
Apache mod_macro gets configured with a ServerAlias for a subdomain of the domain name of this server. The idea is to have development hostnames that you can use before updating DNS when migrating existing sites. Check the ServerAlias configs in /etc/apache2/mods-available/macro.conf to make sure they are using the domain you wish, and optionally change or comment out the subdomain ServerAlias settings. Apache mod_macro gets configured with a ServerAlias for a subdomain of the domain name of this server. The idea is to have development hostnames that you can use before updating DNS when migrating existing sites. Check the ServerAlias configs in /etc/apache2/mods-available/macro.conf to make sure they are using the domain you wish, and optionally change or comment out the subdomain ServerAlias settings.
The default website page is /srv/www/html/index.html. You can edit this page to suit your needs. This default page is displayed for any domain that points to the server, but has not been enabled as it's own VirtualHost yet.
## Let's Encrypt ## Let's Encrypt
For integrated Let's Encrypt certificate configuration install Let's Encrypt Tools: For integrated Let's Encrypt certificate configuration install Let's Encrypt Tools:
https://git.stack-source.com/msb/letsencrypt-tools https://git.stack-source.com/msb/letsencrypt-tools