4 ms·
Very cool, very accessibly written. Thanks for sharing. Curious how you handle your router’s public IP changing as (I believe?) this is pretty common depending
by bryancoxwell 2y ago
Very cool, very accessibly written. Thanks for sharing.
Curious how you handle your router’s public IP changing as (I believe?) this is pretty common depending on the ISP, no?
- mirawelner 2y agoI am glad you like it! Theoretically, routers have public IPs that change often and you have to buy something to make sure they don't. In practice, this has only ever happened once to me when my router got hacked and I had to get firmware replaced. So while its a major issue if you have a huge site that needs to be reliable, if it is just a personal site it can be okay to just assume it will never change, and if it does you can always just get your domain name to point to the new IP. It may be worth it to look into something to make it more stable, but right now it just isn't worth the extra fee.
- rawandriddled 2y agoYou can use Dynamic DNS[0]. Your server contacts a remote server and if the IP address has changed the DNS is automatically updated. You can use a free subdomain[1] and CNAME/ANAME/ALIAS[2] your domain's DNS to point to it. Edit: Njalla supports dynamic DNS records natively[3]. [0] https://en.wikipedia.org/wiki/Dynamic_DNS https://en.wikipedia.org/wiki/Dynamic_DNS [1] https://freedns.afraid.org/ https://freedns.afraid.org/ [2] https://en.wikipedia.org/wiki/CNAME_record https://en.wikipedia.org/wiki/CNAME_record [3] https://njal.la/docs/ddns/ https://njal.la/docs/ddns/