Setting up Apache sites on a new port

*
planted: 24/07/2021last tended: 27/11/2021

For our staging environments, it's useful to have multiple ports available to test different features that are in flight at the same time.

Notes on the basic config for this, in ufw and Apache.

1. Firewall

ufw allow 8443

2. Set up the config in Apache

2.1. Edit /etc/apache2/ports.conf

Add

Listen 8443

to the relevant part of the file.

2.2. Set up Apache site config

Same as usual, except

<VirtualHost *:8443>

3. Elsewhere

3.1. In my garden

Notes that link to this note (AKA backlinks).

3.3. Mentions

Recent changes. Source. Peer Production License.