@@ 3,7 3,7 @@ these steps:
1. Set the correct hostname;
2. Make sure DNS is correct;
-3. Obtain new TLS certifcates and install them;
+3. Obtain new TLS certificates and install them;
4. Change the Apache `VirtualHost` configuration;
5. Update `/etc/vpn-user-portal/config.php` to make sure `hostName` (in all
profiles) points to the correct name.
@@ 30,11 30,26 @@ or manually obtain them from your CA and install them.
# Apache
+## Fedora / EL
+
Rename `/etc/httpd/conf.d/vpn.example.org.conf` to
-`/etc/httpd/conf.d/vpn.example.com.conf`. Replace all occurences of
+`/etc/httpd/conf.d/vpn.example.com.conf`. Replace all occurrences of
`vpn.example.org` with `vpn.example.com` in this file.
-# Server
+## Debian / Ubuntu
+
+Disable the old site:
+
+```bash
+$ sudo a2dissite vpn.example.org
+$ sudo mv /etc/apache2/sites-available/vpn.example.org.conf /etc/apache2/sites-available/vpn.example.com.conf
+$ sudo a2ensite vpn.example.com
+```
+
+Modify `/etc/apache2/sites-available/vpn.example.com.conf` and replace all
+occurrences of `vpn.example.org` with `vpn.example.com`.
+
+# Server Configuration
Modify `/etc/vpn-user-portal/config.php` and look at all `hostName` entries and
change them to the new hostname.