fix subdomain for terranix.org

This commit is contained in:
Ingolf Wagner 2024-01-03 14:46:09 +01:00
parent acaec28a55
commit 29e64a2f82
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

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