5 ms·
cheapest way is to sign up with a dynamic DNS service like http://freedns.afraid.org/ http://freedns.afraid.org/ - choose a subdomain you like. Then run an age
by exhilaration 7y ago
cheapest way is to sign up with a dynamic DNS service like http://freedns.afraid.org/ http://freedns.afraid.org/ - choose a subdomain you like. Then run an agent on your server to monitor when/if your public IP changes - it will send the new IP to the dynamic DNS.
If you'd prefer a paid option that uses your own domain, then some providers like Digital Ocean expose DNS settings via API. Here's a google search to get you started: https://www.google.com/search?q=dynamic+dns+host+for+digitalocean https://www.google.com/search?q=dynamic+dns+host+for+digital...
- viraptor 7y agoDdns used to be a fancy thing, but these days everyone worth anything has their own API for DNS management. Providers specialising in ddns may have their own agents which make it easier, but you can also use a 3-line script to do it on route53.
- crtasm 7y agoAfraid.org is great, note that you don't necessarily need to install any software to use it - you're given a line to paste into your crontab and it's setup. It simply wget/curls an update URL every few minutes.
- amelius 7y agoAny reason they chose "Afraid" as their name? A name is just a name, but it feels a bit offputting to use that in the address of my home server, tbh.
- insertnickname 7y agoI don't know, but they have many different domains to choose from. I'm not sure if you can even get a subdomain of afraid.org.
- Daviey 7y agoCNAME'ing your own domain to a "dynamic DNS" provider is also an option.
- predakanga 7y agoNote that when using this approach, you shouldn't use the root domain; you can still use a subdomain with no issues though. [0]: https://www.freecodecamp.org/news/why-cant-a-domain-s-root-be-a-cname-8cbab38e5f5c/ https://www.freecodecamp.org/news/why-cant-a-domain-s-root-b... [1]: https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/ https://blog.cloudflare.com/introducing-cname-flattening-rfc...