this post was submitted on 02 Jul 2023
98 points (95.4% liked)

Selfhosted

40151 readers
1713 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.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
98
submitted 1 year ago* (last edited 1 year ago) by starkcommando to c/selfhosted
 

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
[–] [email protected] 4 points 1 year ago (1 children)

My IP isn’t technically static but it hasn’t changed in the 3 years I’ve been with this ISP.

[–] [email protected] 4 points 1 year 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 1 points 1 year 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?

[–] [email protected] 1 points 1 year 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.

[–] [email protected] 1 points 1 year 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.