diff --git a/VPS-caddy/DNS-settings b/VPS-caddy/DNS-settings new file mode 100644 index 0000000..fb0ee6c --- /dev/null +++ b/VPS-caddy/DNS-settings @@ -0,0 +1,20 @@ +# If your main domain is mydomain.com, the following settings will +# setup a wildcard setting so you can use *.home.mydomain.com for all your services. +# For example: jellyfin.home.mydomain.com / books.home.mydomain.com etc. + +``` +DNS SETTINGS +-------------------- +NAME TYPE TTL VALUE +-------------------- +* A 3600 183.11.113.0 + +# A record that makes all requests go to mydomain.com + +*.home A 183.11.113.0 + +# A record that setups a subdomain so immich.home.mydomain.com or jellyfin.home.mydomain.com can be used. +``` + +# I set this up on a subdomain so I can use the main domain for other servers. +# Maybe I have a server called ninja, I could setup another A record for *.ninja and have jellyfin.ninja.mydomain.com diff --git a/VPS-caddy/README.md b/VPS-caddy/README.md index 004f8f2..14d1cdd 100644 --- a/VPS-caddy/README.md +++ b/VPS-caddy/README.md @@ -5,3 +5,4 @@ https://blog.arkadi.one/p/run-your-homelab-behind-your-vps/ - Dockerfile - to build a custom Caddy executable with gandi registrar module - docker-compose.yml - to run Caddy - Caddyfile - your caddy settings for a wildcard DNS +- DNS-settings - gives you an idea how to setup your DNS for wildcard certificates