diff --git a/etc/apache2/mods-available/macro-redirect.conf b/etc/apache2/mods-available/macro-redirect.conf
deleted file mode 100644
index 27f4915..0000000
--- a/etc/apache2/mods-available/macro-redirect.conf
+++ /dev/null
@@ -1,50 +0,0 @@
-# VHostHTTP for http only
-# VHostHTTPS for http & https w/ optional http to https redirect
-# only use one of the above at at time
-# VHostMAIL for webmail at mail. subdomain assumes/requires https w/ valid cert
-
-# VHostHTTP - HTTP on Port 80. Includes ServerAlias for .mylampsite.com subdomain
-
-
- ServerName $vhost
- ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
- DocumentRoot /srv/www/$vhost/html
-
-
-
-# VHostHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for .mylampsite.com subdomain
-
-
- ServerName $vhost
- ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
-
-
- Redirect 301 "https://%{HTTP_HOST}%{REQUEST_URI}"
-
-
-
-
- ServerName $vhost
- ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
- DocumentRoot /srv/www/$vhost/html
- SSLCertificateFile /etc/ssl/letsencrypt/$vhost.pem
-
-
-
-# Webmail - HTTP Port 80 Redirects to HTTPS Port 443
-
-
- ServerName mail.$vhost
-
- Redirect / https://mail.$vhost
-
-
-
- ServerName mail.$vhost
- DocumentRoot /srv/www/html/webmail/
- SSLCertificateFile /etc/ssl/letsencrypt/mail.$vhost.pem
-
-
diff --git a/etc/apache2/mods-available/macro.conf b/etc/apache2/mods-available/macro.conf
index 300ad9a..b520ed3 100644
--- a/etc/apache2/mods-available/macro.conf
+++ b/etc/apache2/mods-available/macro.conf
@@ -17,12 +17,12 @@
# VHostAliasHTTPSVarnish for http & https
# *only use one of the Alias options above at at time*
-# VHostHTTP - HTTP on Port 80. Includes ServerAlias for .mylampsite.com subdomain
+# VHostHTTP - HTTP on Port 80. Includes ServerAlias for .example.com subdomain
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$vhost/html
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -33,7 +33,7 @@
ServerName $subdomain.$vhost
- ServerAlias $subdomain.$vhost.mylampsite.com
+ ServerAlias $subdomain.$vhost.example.com
DocumentRoot /srv/www/$vhost/$subdomain
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -41,12 +41,12 @@
-# VHostHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for .mylampsite.com subdomain
+# VHostHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for .example.com subdomain
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$vhost/html
##
##
@@ -60,7 +60,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$vhost/html
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -70,11 +70,11 @@
-# VHostSubdomainHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for .mylampsite.com subdomain
+# VHostSubdomainHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for .example.com subdomain
ServerName $subdomain.$vhost
- ServerAlias $subdomain.$vhost.mylampsite.com
+ ServerAlias $subdomain.$vhost.example.com
DocumentRoot /srv/www/$vhost/$subdomain
##
##
@@ -87,7 +87,7 @@
ServerName $subdomain.$vhost
- ServerAlias $subdomain.$vhost.mylampsite.com
+ ServerAlias $subdomain.$vhost.example.com
DocumentRoot /srv/www/$vhost/$subdomain
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -102,7 +102,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$vhost/html
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -111,7 +111,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
RequestHeader set X-Forwarded-Proto https
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:6081/
@@ -125,7 +125,7 @@
ServerName $subdomain.$vhost
- ServerAlias $subdomain.$vhost.mylampsite.com
+ ServerAlias $subdomain.$vhost.example.com
DocumentRoot /srv/www/$vhost/$subdomain
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -133,7 +133,7 @@
ServerName $subdomain.$vhost
- ServerAlias $subdomain.$vhost.mylampsite.com
+ ServerAlias $subdomain.$vhost.example.com
RequestHeader set X-Forwarded-Proto https
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:6081/
@@ -165,7 +165,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
Redirect 301 "$redirect%{REQUEST_URI}"
@@ -178,7 +178,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
Redirect 301 "$redirect%{REQUEST_URI}"
@@ -188,7 +188,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
Redirect 301 "$redirect%{REQUEST_URI}"
@@ -203,7 +203,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$alias/html
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"
@@ -215,7 +215,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$alias/html
##
##
@@ -229,7 +229,7 @@
ServerName $vhost
ServerAlias www.$vhost
- ServerAlias $vhost.mylampsite.com
+ ServerAlias $vhost.example.com
DocumentRoot /srv/www/$alias/html
SetHandler "proxy:unix:/run/php/php7.4-fpm-$username.sock|fcgi://localhost"