Red Wizard 🪄@lemmygrad.mlOPtoSelfhosted@lemmy.world•Current, most up-to-date guide on creating a VPS tunnel.English
2·
1 year agoCool bot!
Cool bot!
I saw this and I think it’s what I’m going to do too. I figure I can just configure it with my existing nginx information and go from there.
So here is a question: does it need to be a sub domain? Can’t I redirect all traffic to the VPS? If I wanted to host a HTML website at my root domain and have it served by nginx for example, couldn’t I do that?
I just see subdomain mentioned in the guides / tools I see but I don’t understand why exactly.
It’s funny, when you explain it, my IT hat goes on and I totally get it lol. I guess the context felt different enough that I didn’t get it. But I work with Windows domains all day and that’s exactly how DNS operates in that environment.
Ultimately I think for a tunnel you’ll end up with your records pointing to your VPS. So you’ll have a
*.domain.tld
CNAME record and maybe a @ CNAME record and your nginx server on the other end of the tunnel would handle the routing.