fix subdomain for terranix.org

feature/clan.lol
Ingolf Wagner 2024-01-03 14:46:09 +01:00
parent acaec28a55
commit 29e64a2f82
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 10 additions and 5 deletions

View File

@ -21,20 +21,25 @@ resource "namecheap_domain_records" "terranix" {
ttl = local.normal_ttl
type = "CNAME"
}
record {
address = "terranix.github.io"
hostname = "www"
mx_pref = 10
ttl = local.normal_ttl
type = "CNAME"
}
# subdomain regex
# matrix.terranix.org
record {
address = "144.76.13.147"
hostname = "*"
hostname = "matrix"
mx_pref = 10
ttl = local.normal_ttl
type = "A"
}
# matrix.terranix.org (needed?)
record {
address = "144.76.13.147"
hostname = "matrix"
hostname = "element"
mx_pref = 10
ttl = local.normal_ttl
type = "A"