diff --git a/cli/server/new.go b/cli/server/new.go index 249fa503..0faf40ab 100644 --- a/cli/server/new.go +++ b/cli/server/new.go @@ -96,9 +96,18 @@ Please note, this server is not managed by Abra yet (i.e. "abra server ls" will not list this server)! You will need to assign a domain name record ("abra record new") and add the server to your Abra configuration ("abra server add") to have a working server that you can deploy Co-op Cloud apps to. + +When setting up domain name records, you probably want to set up the following +2 A records. This supports deploying apps to your root domain (e.g. +example.com) and other apps on sub-domains (e.g. foo.example.com, +bar.example.com). + + @ 1800 IN A %s + * 1800 IN A %s + `, internal.HetznerCloudName, ip, rootPassword, - ip, + ip, ip, ip, )) return nil @@ -169,6 +178,15 @@ Please note, this server is not managed by Abra yet (i.e. "abra server ls" will not list this server)! You will need to assign a domain name record ("abra record new") and add the server to your Abra configuration ("abra server add") to have a working server that you can deploy Co-op Cloud apps to. + +When setting up domain name records, you probably want to set up the following +2 A records. This supports deploying apps to your root domain (e.g. +example.com) and other apps on sub-domains (e.g. foo.example.com, +bar.example.com). + + @ 1800 IN A + * 1800 IN A + `, internal.CapsulName, resp.ID, internal.CapsulInstanceURL)) return nil