this post was submitted on 02 Jul 2023
83 points (94.6% liked)

Selfhosted

60665 readers
380 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
 

I would like to host my own web server with a domain name I purchased but my public IP isn't static.

you are viewing a single comment's thread
view the rest of the comments
[–] calmluck9349@infosec.pub 3 points 3 years ago (2 children)

This. But I use namecheap and the built in tool on pfsense to keep an A record up to date if it ever changed.

[–] starkcommando@lemmy.world 1 points 3 years ago (1 children)

I have NameCheap as well. I was trying to set this up with the ddclient on OPNSense but the logs suggested it couldn't connect to NameCheap. What do you need to authenticate other than the DDNS passcode supplied by NameCheap?

[–] calmluck9349@infosec.pub 1 points 3 years ago

Oof. Set this up years ago now..

Add the hostname IE public Add the domain name IE starkcommando.com

This will be public.starkcommando.com

Leave username blank (this was a gotchya for me, if I recall correctly)

Then put the generated namecheap ddns password (not your account password) that matches the record in.

All set.

[–] kamin@lemmy.kghorvath.com 1 points 3 years ago

I should automate something like that too. I just have one A record pointing to my IP and all my subdomains CNAME’d to that so that if it ever changes, I just have to update that one record.