diff --git a/config/aliases.json.dist b/config/aliases.json.dist
index 8c8e9760d78169b96da4dfc934757296d3b23cfd..6473bd24d8426fd36064e5c7f41339d1ab2440a5 100644
--- a/config/aliases.json.dist
+++ b/config/aliases.json.dist
@@ -1,3 +1,3 @@
 {
-    "sub.domain.example.com": "domain.example.com"            
+    "sub.domain.example.com": "www.example.com"            
 }
\ No newline at end of file
diff --git a/config/redirects_www.example.com.json b/config/redirects_www.example.com.json
new file mode 100644
index 0000000000000000000000000000000000000000..83d3db03cbb3717c74b58e5f69c4b68dd7e6a8ba
--- /dev/null
+++ b/config/redirects_www.example.com.json
@@ -0,0 +1,9 @@
+{
+    "comment": "Example redirect configuration file for domain.example.com",
+    "direct":{
+        "/mail": {"code": 301, "target": "https://www.example.com/webmail" }
+    },
+    "regex":{
+        ".*":   {"code": 307, "target": "https://www.example.com/" }
+    }
+}