this post was submitted on 02 Dec 2025
12 points (87.5% liked)

Selfhosted

55090 readers
441 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Good morning/evening my selfhosting friends,

I'm kind of a noob, so hopefully I can articulate what I'd like to accomplish well. I am currently in the process of overhauling my entire homelab, which has involved me setting up a VPS as a proxy/tunnel for remotely connecting to/exposing services on my LAN due to my ISP having me behind CGNAT.

Currently, I have a subdomain (provided via Namecheap) pointed at the static IP of the VPS. With this, I can ssh into my server with ssh root@vps.domain.tld which is what I want. Now, I seem to have landed on Pangolin for accomplishing the aforementioned proxy. However, when installing it, I'm stumped by the first few questions: Pangolin wants me to input my domain.tld, followed by pangolin.domain.tld for Pangolin specifically.

Reading the docs, they then want me to either create an A Record for a wildcard domain at my VPS' IP, or create a root domain record aimed at the IP. My question is, how do I keep the vps.domain.tld while also allowing for pangolin.domain.tld to be valid at the same IP? I know I can create SRV Records, but I am unsure how Pangolin will handle that with the multiple TCP/UDP ports it needs open. I'll also want to access it via HTTPS obviously, which may add some complexity.

I hope this makes sense, sorry if anything is unclear or if the solution is obvious.

you are viewing a single comment's thread
view the rest of the comments
[–] INeedMana@piefed.zip 4 points 1 month ago (1 children)

I haven't done that myself but from https://pimylifeup.com/pangolin-linux/ I understand that will only be subdomain to access pangolin dashboard

how do I keep the vps.domain.tld while also allowing for pangolin.domain.tld to be valid at the same IP?

Domains are just translation from name to IP. What gets served on which subdomain is then handled by nginx or traefik. AFAIK you can have all 3 (VPS, pangolin and root) to point at the same IP

[–] marighost@piefed.social 3 points 1 month ago

Looks like a good resource to read, thanks! As you may know there are a billion and one guides for doing the same thing across a plethora of systems, and even more variables in between. Appreciate your time.