I would like to host my own web server with a domain name I purchased but my public IP isn’t static.
- 3 years
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@lemmy.caEnglish
3 yearsI do this too. I proxy my DNS which means my home IP isn’t exposed
- Feliberto@programming.devEnglish3 years
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.
- vynlwombat@lemmy.worldEnglish3 years
I host my own ddns server in a debian container https://wiki.debian.org/DDNS
- randy@lemmy.caEnglish3 years
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@lemmy.caEnglish3 years
I use Let’s Encrypt on my domains, but they’re domains that my afraid.org subdomains point to.
- bigBananas@feddit.nlEnglish3 years
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…
- hagerman@lemmy.worldEnglish3 years
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).
- 3 years
your domain provider probably has an api to update dns records i use cloudflare with their api because then i can hide my ip behind their proxy or if i don’t have a public ip i can use their tunnels
- BetterNotBigger@lemmy.worldEnglish3 years
If you only need public access to things like HTTP or SSH you don’t necessarily need to run dynamic ip and just setup Cloudflare Tunnels. So far I haven’t needed to put anything public that doesn’t run on the provided tunnels.
- starkcommando@lemmy.worldEnglish3 years
Where are the settings for these tunnels located in Cloudflare? I was looking around the website last night but didn’t have any luck.
- BetterNotBigger@lemmy.worldEnglish3 years
Look under the Zero Trust category and then once there you’ll see another menu item called Access. There you’ll find Tunnels, in addition to Tunnels you can add an Application in the same Access menu to create policies that only allow certain clients to connect.
- valkyre09@vlemmy.netEnglish3 years
Cloudflare tunnels is the way to go for small self hosted content. You’re hiding behind their ddos protection and your IP / location remains hidden from end users.
- valkyre09@vlemmy.netEnglish3 years
Sort of? https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use-cases/rdp/ - I have no idea how to do it though.
I’ve had SSH and VNC sessions rendered in web pages with tunnels, but never RDP.
I would prefer to use TailScale (www.tailscale.com) for something like RDP though, much easier to configure / set up and again you’re hiding behind their infrastructure.
- theghostoutside_@lemmy.worldEnglish3 years
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.
- axzxc1236@lemmy.worldEnglish3 years
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 letsencryptin your command)
- uyuu@lemmy.4d2.orgEnglish3 years
I also use duckdns, but in the last year it went down like twice or something. Its good but not really reliable.
- nieceandtows@lemmy.worldEnglish3 years
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.
- nieceandtows@lemmy.worldEnglish3 years
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.eeEnglish3 years
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.
lntl@lemmy.sdf.orgEnglish
3 yearsDoes 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.worldEnglish3 years
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.
- PorkSoda@lemmy.worldEnglish3 years
I use namecheap and dd client. Happy to share my config file if you need if.
lntl@lemmy.sdf.orgEnglish
3 yearsCloudflare 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.
- kamin@lemmy.kghorvath.comEnglish3 years
My IP isn’t technically static but it hasn’t changed in the 3 years I’ve been with this ISP.
calmluck9349@infosec.pubEnglish
3 yearsThis. 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.worldEnglish3 years
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.pubEnglish
3 yearsOof. 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.comEnglish3 years
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.
- SJ_Zero@lemmy.fbxl.netEnglish3 years
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/
- Mountaineer@lemmy.worldEnglish3 years
I also use this.
Have had to update it in tiny ways in the last ~ 7 years?
- DunkinCoder@lemmy.worldEnglish3 years
I use this container, favonia/cloudflare-ddns, for Cloudflare and my domain.




