Self Hosting in 2023

rw-book-cover

Metadata

Highlights

  • So now it’s time to attach it to my local server and whoops. We’ve got a problem. When assigning the domain to IP address I remembered that I don’t have a static IP address. I’ve got a dynamic one like most households. (For those unfamiliar with the concept of dynamic external IPs, a modem assigns me a new IP address every time it reboots, or my net disconnects.) Thankfully I’ve tackled this problem once already. In my childhood when I was hosting my own MU Online server I was lacking a static IP. And to get a server to the public I’ve used Hamachi! It works like this: Every X seconds when your server is connected to internet it sends information about the IP you currently have to a DDNS (Dynamic DNS). Worst case worst, your IP changes, X seconds pass, your server informs DDNS, and it navigates the traffic to the new IP. It turns out that Google Domains even has this feature built in! I’ve installed DDClient, which is the tool Google suggested in their docs, and configured it with my credentials. Whole process took around 10 minutes. I got info that it works by looking at the DDNS record in Google Domains admin panel. It was updated with my current IP. (View Highlight)

title: “Self Hosting in 2023” author: “grifel.dev” url: ”https://grifel.dev/decentralization/” date: 2023-12-19 source: reader tags: media/articles

Self Hosting in 2023

rw-book-cover

Metadata

Highlights

  • So now it’s time to attach it to my local server and whoops. We’ve got a problem. When assigning the domain to IP address I remembered that I don’t have a static IP address. I’ve got a dynamic one like most households. (For those unfamiliar with the concept of dynamic external IPs, a modem assigns me a new IP address every time it reboots, or my net disconnects.) Thankfully I’ve tackled this problem once already. In my childhood when I was hosting my own MU Online server I was lacking a static IP. And to get a server to the public I’ve used Hamachi! It works like this: Every X seconds when your server is connected to internet it sends information about the IP you currently have to a DDNS (Dynamic DNS). Worst case worst, your IP changes, X seconds pass, your server informs DDNS, and it navigates the traffic to the new IP. It turns out that Google Domains even has this feature built in! I’ve installed DDClient, which is the tool Google suggested in their docs, and configured it with my credentials. Whole process took around 10 minutes. I got info that it works by looking at the DDNS record in Google Domains admin panel. It was updated with my current IP. (View Highlight)