Setting up Apache sites on a new port


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


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

This page last updated: 2021-11-27 Sat 12:32. Map. Recent changes. Source. Peer Production License.