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

I use duckdns.org , but if you are trying to host a webpage I totally recommend using Cloudflare, Cloudflare tunnels and a reverse proxy like nginx.

Setting it up may be a bit tricky, but it is a gamechanger. I followed Ibracorp’s guides and I had no problem.

@lntl@lemmy.sdf.org
link
fedilink
English
5
edit-2
1Y

Does your domain provider have a DDNS service? I buy my domains from namecheap.com and use their DDNS service for exactly what you’re describing.

@starkcommando@lemmy.world
creator
link
fedilink
English
21Y

I have NameCheap as well. I found their Windows client after I made this post. I’m still curious is there are better services out there. It seems Cloudflare may have the best tools for security for a webserver, i.e. hiding the real IP address.

@lntl@lemmy.sdf.org
link
fedilink
English
11Y

Cloudflare has a lot of great tools and provides service to most of the internet. Some folks don’t like how much of internet traffic is routed though Cloudflare… sort of like Google and if that’s not a bother then it may be a good choice.

PorkSoda
link
fedilink
English
11Y

I use namecheap and dd client. Happy to share my config file if you need if.

@bdonvr@thelemmy.club
link
fedilink
English
91Y

DNS managed by Cloudflare, and cf-ddns

@bigBananas@feddit.nl
link
fedilink
English
21Y

2nd, but with just a bash script. Also, I’m forwarding http & https to different IPs and the best thing about cloudflare is that you can restrict those ports to only be open when coming from cloudflare’s proxy. I like the extra layer of security, and dislike that they can see all traffic…

Alvaro
link
fedilink
21Y

@starkcommando@lemmy.world dyndns worked fine. Duckdns is a preferred among self hosters. Also your domain name provider might also offer dynamic dns sometimes

I use DuckDNS. There’s been only one outage for the ~2 years I’ve been using it and it’s free. I also use DuckDNS to acquire the SSL certificates for the reverse proxy.

I used duckdns for my jellyfin server, but after a week or so I started getting malicious site warnings from Firefox, and had to ‘accept the risk and continue’ every time. Ended up going back to noip. It’s a pain to renew every month, but I haven’t had any other problems with it.

@Bork@lemmy.world
link
fedilink
English
21Y

What do you mean renew every month?

deleted by creator

You need to confirm each month that you’re still using that url if you’re in free tier. Otherwise it won’t be registered to you

@Josh@lemm.ee
link
fedilink
English
21Y

I use noip as well, but because I only have an IP camera on that network, and the camera has built-in DDNS support for noip. But I hate it having to renew monthly.

@uyuu@lemmy.4d2.org
link
fedilink
English
21Y

I also use duckdns, but in the last year it went down like twice or something. Its good but not really reliable.

@wernsting@lemm.ee
link
fedilink
English
21Y

How gave you set it up out of curiosity?

@axzxc1236@lemmy.world
link
fedilink
English
3
edit-2
1Y

If you mean automatically update IP part, duckdns website has a very comprehensive guide.

If you mean getting a free SSL certificate, you can use acme.sh (this is what I used) which has integrated support for duckddns (To use let’s encrypt you need to use --server letsencrypt in your command)

@hagerman@lemmy.world
link
fedilink
English
81Y

I use a Cloudflare tunnel rather than a dynamic DNS provider. Some in the self hosting community are opposed to Cloudflare, but I appreciate the tools they provide (especially Zero Trust so I can put my self hosted apps behind Okta).

Entropy
link
fedilink
English
11Y

+1 for tunnels, easy to use and no port forwarding required

I host my own ddns server in a debian container https://wiki.debian.org/DDNS

@starkcommando@lemmy.world
creator
link
fedilink
English
11
edit-2
1Y

Here we go down another rabbit hole… 😆

@JurassicPork@lemmy.one
link
fedilink
English
61Y

Right!!! Lmao 😂 same boat as ya lol

@wernsting@lemm.ee
link
fedilink
English
21Y

https://www.duckdns.org but to be fair I have not properly configured it in #opnsense yet!

Jeena
link
fedilink
English
31Y

The easiest thing to do is to use https://www.duckdns.org/ and then point your domain as a CNAME to this duckdns subdomain.

@SJ_Zero@lemmy.fbxl.net
link
fedilink
English
31Y

If you’re using godaddy, you can use a script to do your own dynamic DNS:

https://www.instructables.com/Quick-and-Dirty-Dynamic-DNS-Using-GoDaddy/

I also use this.
Have had to update it in tiny ways in the last ~ 7 years?

Sifr Moja
link
fedilink
21Y

@starkcommando When I didn’t have a static IP I was using CloudFlare for this with my own domain.

Sam
link
fedilink
English
101Y

I’ve been using freedns.afraid.org for about a year now.

@randy@lemmy.ca
link
fedilink
English
11Y

I’ve also been on freedns.afraid.org for many years. Back when I switched from dyndns, it wasn’t possible to get Let’s Encrypt certificates on afraid.org’s domains, but that might have changed. I worked around it by taking a domain I already owned and using a CNAME to point it at my afraid.org domain.

Sam
link
fedilink
English
21Y

I use Let’s Encrypt on my domains, but they’re domains that my afraid.org subdomains point to.

SleepyBear
link
fedilink
English
161Y

I run ddclient on a local machine and it updates my Cloudflare DNS records if my IP changes.

OPNSense has it built in too, if you use it. So does PFSense, I think. Been a while, might be misremembering.

Greg Clarke
link
fedilink
English
31Y

I do this too. I proxy my DNS which means my home IP isn’t exposed

@krippix@feddit.de
link
fedilink
English
11Y

Jup, I use my pfSense as DDNS client with Cloudflare

𝙚𝙧𝙧𝙚
link
fedilink
English
1
edit-2
1Y

I’ve been using https://dnsomatic.com/ for a long while now. It updates Cloudflare which manages my DNS. It updates DNS at other providers too which is useful.

My router is able to send DDNS updates to it.

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

Create a post

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!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog