98
submitted 1 year ago by Matt@lemdro.id to c/selfhosted@lemmy.world

My VPS provider is running a promotion where I can get up to 5 additional public IPv4 addresses for a one-time cost of $25 each. I have always only used a single public IP address per VPS. Would there be any advantage of having additional public IP addresses?

I know some people do not consider a VPS self-hosting, but this is the most relevant community I could think of and the question is also applicable for homelabs as well.

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 4 points 1 year ago

You got the basic idea from other posters, but there's also a lot of weird crap in there as well.

Basically you only need multiple IPs when dealing with services that only really operate on "well known ports". DNS and SMTP being the usual culprits. For most home users there this is no big deal - even if you wanted to host those services it's unlikely that you would need more than one ip to do so. HTTP solved this in '97 with HTTP/1.1 which allowed for host headers, which let's a single server host multiple sites.

This isn't something new that nginx solved. ๐Ÿ˜‚

this post was submitted on 06 Jun 2025
98 points (100.0% liked)

Selfhosted

61901 readers
873 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS