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

Selfhosted

39436 readers
1022 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.

(page 2) 15 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

I pay an extra £1 a month to my ISP to get a static address. Figured it's well worth having no hassle.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I just have a cron script running on a machine that does something like this every 10 seconds

C_IP=`dig +short my.domain`
IP=`curl https://api.ipify.org`
if(C_IP != IP) {
    updateRoute53(IP)
}

This is just for my main home server. Gets the job done because if it's out of date for a few seconds nothing matters.

[–] [email protected] 1 points 1 year ago

Before, I used to use duckdns. Completely free and super simple
Nowadays I just have a docker container that updates my A records on my domain directly through namesilo's API. Took like 5 mins to set up the config

[–] yaaaaayPancakes 1 points 1 year ago

I'm still using noip.com. There may be better/cheaper options these days, but this has worked well for me for years, and I don't see the need to change.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

~~AdGuard! They even have installable profiles for Apple devices, so I get ad blocking even on mobile!~~

mb, DDNS. nvm

[–] [email protected] 1 points 1 year ago

OP is asking about DDNS instead of DNS. They want a fixed address to their ever changing IP address.

load more comments
view more: ‹ prev next ›