this post was submitted on 23 May 2025
23 points (100.0% liked)

technology

23765 readers
176 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS
 

I kind of want to set up my own domain for personal stuff and learning purposes. I was thinking of using it for a vpn for ssh-ing into my local devices and for hosting git repos and stuff. Maybe a phorge instance or something. It wouldn’t really be for public use so I don’t think I need to worry about high traffic.

I know when hexbear switched domain name services during the recent debacle that people seemed to really like the new one but I forget what it was called. As for server hosting, I guess aws is the obvious choice, but that and azure are the only choices I’m even aware of, so I don’t know if there’s something else out there that’d be better suited to my needs. Actually, do I even need server hosting at all? My friend mentioned that I could configure my router to forward requests on a certain port to one of my devices, so could I set up my own server that way? Wouldn’t that cause issues if the router restarts and I get a new ip address?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 15 hours ago

The DNS registrar Hexbear is using now is called: Porkbun

As for server hosting:

I use Digital Ocean for their most basic tier server, which costs me about $6 a month. However, I only use this server as a VPS (Virtual Privet Server) Gateway and Reverse Proxy. The server hosts a WireGuard VPN that connects back to a box I control that is stuck behind a CG-NAT. The VPS Gateway is necessary to pierce the CG-Nat and allow traffic to the box on the network I control.

On that box is where I host all the things I want to host. If you're not behind a CG-Nat then your network should have a public facing IP address that you can tie to a domain... However, I'd still recommend using some kind of VPS Tunnel, to not expose your ISP provided IP address to the world.

If your network gets a new IP address, you'll want some kind of DynDNS (Dynamic DNS) type service that can automatically update your DNS record with your new IP address. Though, again, if you're using a VPS Tunnel, then that shouldn't matter either, since your local machine will connect to your VPS as a VPN client, while your VPS acts as the VPN host.