diff --git a/domain.tf b/domain.tf index da0c802..d994333 100644 --- a/domain.tf +++ b/domain.tf @@ -21,14 +21,14 @@ provider "namecheap" {} resource "namecheap_domain_records" "othonotes" { domain = "othonotes.com" record { - address = "rprxy-0.saline.o4data.net" hostname = "@" + address = "rprxy-0.saline.o4data.net" type = "ALIAS" ttl = 300 } record { - address = "othonotes.com." hostname = "www" + address = "othonotes.com." type = "CNAME" } } @@ -37,23 +37,24 @@ resource "namecheap_domain_records" "othostash" { domain = "othostash.com" record { - address = "96.78.236.124" hostname = "@" - type = "A" + address = "stashbox.delhi.o4data.net" + type = "ALIAS" + ttl = 300 } record { - address = "othostash.com." hostname = "www" + address = "othostash.com." type = "CNAME" } record { - address = "rprxy-0.saline.o4data.net" hostname = "websites" + address = "rprxy-0.saline.o4data.net" type = "CNAME" } record { - address = "rprxy-0.saline.o4data.net" hostname = "filemanager" + address = "rprxy-0.saline.o4data.net" type = "CNAME" } }