Self Hosting on your Home Server - Cloudflare + Nginx Proxy Manager - Easy SSL Setup
Vložit
- čas přidán 27. 05. 2024
- Once you have your fresh new home server setup you'll definitely want to host some cool stuff. Let's make sure you're hosting it the safe way...and luckily its also the easy way.
Cloudflare - www.cloudflare.com/
Nginx Proxy Manager - nginxproxymanager.com/
-------------------------------------------------------------------------------------------
🔥 Check out this week's BEST DEALS in PC Gaming from Best Buy: shop-links.co/cgDzeydlH34
💰 Premium storage solutions from Samsung: shop-links.co/cgDzWiEKhB8
⚡ Keep your devices powered up with charging solutions from Anker: shop-links.co/cgDzZ755mwl
-------------------------------------------------------------------------------------------
Become a Channel Member!
/ @raidowl
Support the channel on:
Patreon - / raidowl
Discord - bit.ly/3J53xYs
Paypal - bit.ly/3Fcrs5V
Affiliate Links:
Ryzen 9 5950x - amzn.to/3z29yko
Samsung 980 2TB - amzn.to/3myEa85
Logitech G513 - amzn.to/3sPS6yv
Logitech G703 - amzn.to/3sATW5R
WD Ultrastar 12TB - amzn.to/3EvOPXc
My Studio Equipment:
Sony FX3 - amzn.to/3qq4Jxl
Sony 24mm 1.4 GM - amzn.to/3mA1TEK
Tascam DR-40x Audio Recorder - amzn.to/3EvTPeq
Rode NTG4+ Mic - amzn.to/3JuElLs
Atmos NinjaV - amzn.to/3Hi0ue1
Godox SL150 Light - amzn.to/3Es0Qg3
Join the Discord: / discord
links.hostowl.net/
0:00 Intro
0:52 Self Hosting
1:28 Prerequisites
2:55 What you need a reverse proxy
4:06 Setup with Docker
6:16 Open ports
7:43 Cloudflare
10:32 Nginx Setup
12:41 Cloudflare SSL/TLS
14:13 IT WORKS
14:38 Conclusion - Věda a technologie
Bro had me from the jump. "You finally finished your website after countless months of Red Bull" A few moments later..."Hello, World." 🤣😂😂😂
Totally not speaking from my personal experiences there…lol
Ok - now I don’t feel so embarrassed knowing I wasn’t the only one who had that as their first webpage!! 😎
lmao same i was all in from the capri sun hanging in the mouth
bro got me at the "control freak" and "cheaper than Mr. Krabs" 😭😭
DUDE. I have been going 'round and 'round with this. I've watched about half a dozen videos, studied at least the same number of articles, and this is the first time I've got it working. And it was so easy. I was WAY over complicating this. At least I know a lot more about apache/cloudflare/docker/nginx than I'd ever thought I'd know.
Thanks for allowing me to get back to having fun in the homelab again. Keep up the good work!!
im in the homelab nightmare stage xD
Same here xD Still stuck at the end, currently trying to assign nat ports to continue following up on this guide.. Got a wordpress installation on a local webserver using Nginx, which I've already setup to be powered by cloudflare, got all the ssl certs and stuff completed, just need to get around the dns I guess xD
Thank god for people like Chuck !
@@Than3Dane I've been stuck with nginx on a 403 error. Got the initial nginx page, but when i directed it to the index file, it 403s now.
XD Love this video tho, I have made more progress each time I sit down on this project.
Literally same, this video saved me so much time
Same for me, i've been watching these videos for a week and tinkering around but with no luck, until this video!
Thank you! I saw tutorials on doing this a lot of times and this one has been the only one that has worked as far!
I tried watching a few videos but this one by far is the most straight forward and well explained. Thank you for your well made videos!
Thank you for the thorough explanation & step by step. Even 2 years later, this video is still helping others (like myself!). Appreciate the tutorial!
Perfect video, by far the best I have found! I'm having a lot of fun with my homelab thanks to great teachers like you. Greetings from the Netherlands!
Dude, you just absolutely broke me out of my confusion over this entire process. THANK YOU!!!
I watched a bunch of videos on how to this and your video was the most thorough and simplest to follow. Thanks!
I have to add to the grateful choir. Took me weeks of messing around with TrueNAS, Jellyfin, Nginx, Traefik, my router, Cloudflare... going in circles trying to set it up. Seems like everyone has a different way of going about proxy servers. After watching your video I FINALLY managed to securely open up a single port to the Internet for me to access Jellyfin remotely. Only thing I had to work out was doing the Portainer install but that was quite straightforward.
THANK YOU for this detailed how-to!
I seriously felt that cut to screaming into the pillow. That was my experience trying to get this all set up before I found your video, it helped a ton!
This is, by far, the best tutorial I've seen on the topic. Thank you!
You are… the wind beneath my wings! Thank you so much for this video. Been trying to figure this out for a while now and you made it all make sense.
I had watched a lot of videos on this subject, but this is the one that cleared up things for me. Thank you for this.. Just awesome!!!
thank you, ive been trying to set my server for about a week, tried other tutorials, with this one i was able to do what i wanted. thumbs up!!!!
I have been struggling with this for days and finally I have been able to get it sorted. thank you soo much for your content
Been through multiple videos on how to get this setup, with no success until this tutorial. Great tutorial, thanks for helping me to get this working!
I was in the same boat...which is why I made it haha. Glad it helped you out!
Incredibly well explained. So efficient and easy. Thank you!!
Amazing video! Great coverage of all steps involved. This fixed EVERYTHING!
Great video! You covered pretty much everything. From port forwarding to SSL. Thank you!
Easily the most clear and enjoyable explanation of this
PERFECT. just what I was looking for. Trying it out on TrueNAS scale tomorrow. Thank you!
This video was so helpful, I subscribed just for how useful it was and how easy to understand you made it. Thank you!
First of all, thank you for the video. You have put together a topic that I have been researching for a while, , very well. I think a top of this can be done using Cloudflare Tunnel. Thus, it becomes appealing to those using CGNAT or Dynamic IP addresses. Thanks again, have a nice day ^_^
Fantastic tutorial! Your teaching style is perfect.
Thanks bud. Most tutorials dont cover the A record setup via cloudflare and is working first time. Cheers!
Thanks for explaining this in detail! My server has been running Nginx Proxy Manager for 3 ish years but recently it stopped working and I was struggling with the reinstallation process. This helped me re-do my SSL setup!
Thank you so much for this video! I was losing my mind trying to get NPM + Certbot to work in unraid. Setting my domains up in Cloudflare was the ticket. Thanks again!
Thank you for taking the time to make this video. It is easy to follow and entertaining.
13:48 I think the most important tip. This is how the redirects worked on my server. Great tutorial, thx.
Great Video, but worth mentioning that some residential ISPs will block traffic on port 80, which can make getting a Let’s Encrypt cert difficult. You can still get around it by hosting the Nginx proxy in the cloud and having it proxy to other ports on your home network.
Exactly! I faced this issue too. What do you say about duckdns?
Cloudflared ( Argo Tunnels) ,or Ngrok. I've also heard of Inlets, but I haven't been able to test it.
They're like a wormhole. The visitors hit the edge (Cloudflare servers) and see your site without having to open ports.
Namesheap Dynamic dns client
This is where cloudflare comes in!
Thanks man. I am just starting my homelab and your video answered so many questions!
Thank you so much for the video, your channel has been a huge help for me getting into self hosting and developing my tiny homelab! Which hopefully will grow with time! 😆
I love you humor man and your tutorials are next to none!
Awesome. Been spun around in circles over this. Ended up have an obtuse issue with the add-on in home assistant. Wipe the DB, reinstalled...started with wildcard cert with DNS challenge first before adding proxy hosts...works like a champ
A year later lost my conf could not recall how to do this. Thanks again.
Thank you so much for the easy tutorial. Worked super well!!
This video finally got everything working!!!!! thank you sooo much!!! saved me a ton of time and stress!!!
man, this is so far the most perfect solution out there to host nextcloud with https! subscribed! thank you man!
Great video this solved my exact problem I had. This was very well explained. Thanks!
his is great, I knew about everything you referenced just didn't know what steps to take. I subscribed!
WOW, thanks man for this simple tutorial, damn I was trying to do this for a few days now, finally i got your video. Thank you for your work, it was so simple to setup. Thank you once again and regards.
Thanks owl! Perfect timing too as one of the use cases for my server is going to be hosting my website
You're welcome, Sean! Hope this guide works for ya.
This just saved me a ton of reading! Thank you!
3 days and hours of pain and finally here we are with a working proxy
Fantastic video! Thank you so much! The only thing I did on my config was use Zero Trust Tunneling from Cloud Flare instead of opening ports on my router. (I'm just paranoid. I'm sure this is safe, too. Just you know, overkill is underrated. )
Also Fun fact, this was the only way I could find that wasn't a giant pain to get an SSL secured Wordpress install self hosted. Great work! Thank you again so much. Fantastic content. I have been binging all your stuff!
Heck yeah man, glad you got it working!
May I ask how you did this using cloudflare tunneling?
@Michael-rq8zj
Hey man, sure so RaidOwl actually has a video on this. I used this to do most of it. There was some wordpress specific stuff that I had to do. If you're specifically looking into that I can look for my notes. LMK.
czcams.com/video/hrwoKO7LMzk/video.html
Great explanation, I found this really useful. Thanks
You are awesome! This was a great tutorial. Keep it up :)
props to you Raid Owl you provided an excellent tutorial and I was able to get my system running using it have a great day. :)
This video is a god send. Keep up with the great content
Yes, it helped a lot! Thank you for the easy explainations!!!!
Amazing. This got me where I wanted.
Goal: Running proxmox server with an ubuntu server VM (wondering if I should just run ubuntu server, but guess I can learn proxmox and ubuntu together). Have some docker containers running in the ubuntu server and wanted to get them on the entire internet. This get you there! Feels good.
Super helpful. Thanks very much! Even though my ISP blocks port 80 (we can't be hosting any web sites now, right?), this worked perfectly. Much appreciated!
Thanks very much friend! Great guide.
This really made my day. Thank you!
You're the best man! Finally got it working.
Heck yeah man!
The take a breath followed by screaming into a pillow made me laugh way too hard. Great video.
absolutely wonderful! thank you!
The Cloudflare DNS API solved all the issues with my setup, thanks
you got a like just because of the introduction, that was amazing :D
Thank you so much , so easy explanation, well explained
Incredible explanation. Thanks
Awesome video, finally got this working thanks to this :) thank you!
Glad to hear it!
Amazing! thanks for sharing this 🙌🏽
This is awesome, now I can try to host nextcloud at home and access it from anywhere 😉
Thank it work !! very useful
Great works!!!! sei bravissimo, è un piacere seguirti!!!
Amazing explanation! thanks
You got me when you said... "show it off to all your friends and yeah" here's my friend RabbitMQ...
Totally worth a new sub! Thanks for the video, great work summarizing what could usually be a complex topic and still making it fun.
Haha he’s a great listener
@@RaidOwl indeed he is! But he's also a great broker, be careful who he exchanges your data with, he might sell your keys quicker than my ex did! lol
Man this was so easy thank you
Great and perfect vedio , you helped too much to work with... nice.... keep forword man
Great, easy to follow video. Do you have a static ip? Would this work on a dynamic ip?
Thnx! This was really helpful :-)
Great tutorial, thank you :)
subscribed in 30 seconds this guy is hilarious
Excellent video.
It looks awesome! Thank you for this and other so good videos. I have been enjoying a lot last two weeks.
I wanted to ask you: For this solution a static IP from your ISP is needed, right?
Yes it is, there is cloudflare tunnel that makes it much easier to setup if you got no public ip like me :)
@@Klej0aka0Klej ey! Thanks for the answer. Right now I was trying ddclient without success. Could you give me a link? :)))
@@ChapuzasconRober I believe you can find it yourself after writing `cloudflare tunnel`. Setup is pretty easy. :)
@@Klej0aka0Klej Thank you very much! I will try it later!
Your channel is seriously underrated bro. Awesome video! How would you implement dynamic DNS with this setup?
There are plenty of different ways but I use the DDNS service built into my firewall (pfSense).
@@RaidOwl nice! I have a netgate 1100 so I'll have to check your vids later to see if you have a way to do that as well
great content, thanks for sharing
Thanks man!!
Thanks for the video. Could you make some more videos about cloudflare settings? There are too many of them.
Simply amazing
Thank You :)) - Great Video
great video even 2 years ! my doubt is the ip in my home chance after someone days(not static ip) and this tutorial mean "set your public ip in cloudflare configuration....", so this is a problem if my home ip is not static ?
First of all, thank you. I just wanted to ask. I use the zero trust tunnel, where clearly there is no need to open any ports on the router. From your experience, in all sincerity, what do you think is the best solution between video and one (or more) zero trust tunnels? I really thank you. Videos always at the top! 🤙
This was perfect. Also, drinking out of cups.
Well ok to punch a whole in to the firewall of router but what about the man in the middle attack or some how someone knows the public IP? Is it better to have in docker a tunnel connected to the cloudflare (also better for people like me with random public IP for every restart of the router) then in the dashboard create the link with auto SSL wildcard certificate to point to the nginx and then to the server with SSL from the nginx?
Look into implementing all your SSL's from CF using their "Origin" Certs into the Reverse PM, it will change your life. You will get a 15 year SSL cert that you don't have to worry about replacing in your Reverse PM for at least 15 years.
Thanks for this video, the content quality is really great!
I was using nginx on my new homeserver but the UI of nginx proxy manager feels so good...
I see you are using portainer for your containers, as my home server is running proxmox and Truenas Scale, do you recommend setting up a new VM with portainer or use the k3s built in Truenas?
k3s seems a little overkill for a single system so I'd personally just go with Docker/Portainer...but if it's working for you then that's all that matters haha
@@RaidOwl It's just what's bundled with truenas scale but I guess I really should isolate more my services haha thanks again!
Nice video. Do you have any suggestions or advice for the 100MB upload limit? I have a Synology NAS and cloudflare limits uploads to 100MB.
Nice work
This is basically how I set up my website. It's served from a raspberry pi and instead of running nginx I ran certbot on the pi. I needed to stop proxying my ip for a minute for certbot to work but it works. I have the lowest power web server on earth. For a site that isn't maintained and no one goes to.
“For a site that ain’t man ganged and no one goes to” 😂
Great video!! I currently use Google domains with Dynamic DNS because I don’t have a static IP address. Is there a way to do this with dynamic DNS and use a CNAME instead?
hey this is great! but it seems impossible to set up wordpress using NPM as your ssl provider, could you do a follow up on that?
thanks for the video
Thanks for this video!! How can you do this for internal use? i mean, use a certificate for private urls.
That was great. Tnx!
Man, great video. My server is behind a CGNAT. I am using Cloudflare tunnels but I would like to try another configuration using A VPS, wireguard and Nginx Proxy Manager. I configured an instance on Vultr using Wg-easy. The VPN is working great, but I still do not figure how to make the Nginx Proxy Manager work in this scenario. Do you have a tip? Again, nice work, man!
awesome video.
Do you need a static public IP for this? my ISP charges a lot for this so in the past ive used dynamic dns but this seems a lot more secure!
This is great, thank you. How do you do you provide SSL certificates for local services that you don't want to expose to the world?
GREAT dude!