Self Hosting on your Home Server - Cloudflare + Nginx Proxy Manager - Easy SSL Setup

Sdílet
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

Komentáře • 471

  • @seankingsland
    @seankingsland Před rokem +110

    Bro had me from the jump. "You finally finished your website after countless months of Red Bull" A few moments later..."Hello, World." 🤣😂😂😂

    • @RaidOwl
      @RaidOwl  Před rokem +12

      Totally not speaking from my personal experiences there…lol

    • @jyt5249
      @jyt5249 Před 9 měsíci +3

      Ok - now I don’t feel so embarrassed knowing I wasn’t the only one who had that as their first webpage!! 😎

    • @comosaycomosah
      @comosaycomosah Před měsícem

      lmao same i was all in from the capri sun hanging in the mouth

    • @michaeltian
      @michaeltian Před 13 dny

      bro got me at the "control freak" and "cheaper than Mr. Krabs" 😭😭

  • @72bonzo
    @72bonzo Před rokem +88

    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!!

    • @matthewballard7219
      @matthewballard7219 Před rokem +6

      im in the homelab nightmare stage xD

    • @Than3Dane
      @Than3Dane Před rokem +1

      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 !

    • @crowlsyong
      @crowlsyong Před rokem +2

      ​@@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.

    • @idanzehavi7883
      @idanzehavi7883 Před 6 měsíci

      Literally same, this video saved me so much time

    • @lololololololololl
      @lololololololololl Před 4 měsíci +1

      Same for me, i've been watching these videos for a week and tinkering around but with no luck, until this video!

  • @JavierChaparroM
    @JavierChaparroM Před 2 lety +8

    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!

  • @abetechtips
    @abetechtips Před 5 měsíci +7

    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!

  • @mitchellstl
    @mitchellstl Před 3 měsíci +7

    Thank you for the thorough explanation & step by step. Even 2 years later, this video is still helping others (like myself!). Appreciate the tutorial!

  • @pringl3s
    @pringl3s Před rokem +9

    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!

  • @v0x3lc0d3
    @v0x3lc0d3 Před 6 měsíci +4

    Dude, you just absolutely broke me out of my confusion over this entire process. THANK YOU!!!

  • @3sixtymining
    @3sixtymining Před rokem

    I watched a bunch of videos on how to this and your video was the most thorough and simplest to follow. Thanks!

  • @yungjerky
    @yungjerky Před 5 měsíci +1

    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!

  • @msoltanftw
    @msoltanftw Před 10 měsíci +1

    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!

  • @kyledickinson311
    @kyledickinson311 Před 8 měsíci +3

    This is, by far, the best tutorial I've seen on the topic. Thank you!

  • @thomaswhipple2867
    @thomaswhipple2867 Před 8 měsíci +2

    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.

  • @dawnS33ker
    @dawnS33ker Před 10 měsíci +1

    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!!!

  • @MikeCabralcapsyweb
    @MikeCabralcapsyweb Před 7 měsíci

    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!!!!

  • @stigofdump100
    @stigofdump100 Před 7 měsíci

    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

  • @malachiHburton
    @malachiHburton Před 2 lety +4

    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!

    • @RaidOwl
      @RaidOwl  Před 2 lety +3

      I was in the same boat...which is why I made it haha. Glad it helped you out!

  • @willpowell1651
    @willpowell1651 Před 10 měsíci +4

    Incredibly well explained. So efficient and easy. Thank you!!

  • @SelfHostedToast
    @SelfHostedToast Před 7 měsíci +1

    Amazing video! Great coverage of all steps involved. This fixed EVERYTHING!

  • @heyitsnaimtv
    @heyitsnaimtv Před rokem +1

    Great video! You covered pretty much everything. From port forwarding to SSL. Thank you!

  • @charleskorndorffer
    @charleskorndorffer Před rokem +1

    Easily the most clear and enjoyable explanation of this

  • @JeffEngle_rvbuiltfortwo
    @JeffEngle_rvbuiltfortwo Před rokem +2

    PERFECT. just what I was looking for. Trying it out on TrueNAS scale tomorrow. Thank you!

  • @Joshawa
    @Joshawa Před 5 měsíci

    This video was so helpful, I subscribed just for how useful it was and how easy to understand you made it. Thank you!

  • @MuratDemir26
    @MuratDemir26 Před rokem +8

    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 ^_^

  • @evtyler
    @evtyler Před rokem +2

    Fantastic tutorial! Your teaching style is perfect.

  • @guitarguy6561
    @guitarguy6561 Před rokem +1

    Thanks bud. Most tutorials dont cover the A record setup via cloudflare and is working first time. Cheers!

  • @sanderdevries7718
    @sanderdevries7718 Před 5 měsíci

    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!

  • @whiskeymuscles4053
    @whiskeymuscles4053 Před rokem

    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!

  • @grahammccann8554
    @grahammccann8554 Před 2 měsíci

    Thank you for taking the time to make this video. It is easy to follow and entertaining.

  • @adonisrn
    @adonisrn Před rokem

    13:48 I think the most important tip. This is how the redirects worked on my server. Great tutorial, thx.

  • @leggettc18
    @leggettc18 Před 2 lety +61

    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.

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu Před 2 lety +1

      Exactly! I faced this issue too. What do you say about duckdns?

    • @charlesrodriguez3657
      @charlesrodriguez3657 Před 2 lety +7

      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.

    • @NordplayTM
      @NordplayTM Před rokem

      Namesheap Dynamic dns client

    • @Carmtech974
      @Carmtech974 Před 4 měsíci

      This is where cloudflare comes in!

  • @unkreativnet
    @unkreativnet Před 4 měsíci

    Thanks man. I am just starting my homelab and your video answered so many questions!

  • @Nallieheai
    @Nallieheai Před 5 měsíci

    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! 😆

  • @matthewballard7219
    @matthewballard7219 Před rokem

    I love you humor man and your tutorials are next to none!

  • @alexnaster8357
    @alexnaster8357 Před rokem +1

    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

    • @alexnaster8357
      @alexnaster8357 Před 4 měsíci

      A year later lost my conf could not recall how to do this. Thanks again.

  • @octaviomontt89
    @octaviomontt89 Před 18 dny

    Thank you so much for the easy tutorial. Worked super well!!

  • @idanzehavi7883
    @idanzehavi7883 Před 6 měsíci

    This video finally got everything working!!!!! thank you sooo much!!! saved me a ton of time and stress!!!

  • @KhelyH
    @KhelyH Před rokem

    man, this is so far the most perfect solution out there to host nextcloud with https! subscribed! thank you man!

  • @Gragorg
    @Gragorg Před 11 měsíci +1

    Great video this solved my exact problem I had. This was very well explained. Thanks!

  • @chrislanejones
    @chrislanejones Před 10 měsíci

    his is great, I knew about everything you referenced just didn't know what steps to take. I subscribed!

  • @maciofacio364
    @maciofacio364 Před 6 měsíci

    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.

  • @7073shea
    @7073shea Před 2 lety

    Thanks owl! Perfect timing too as one of the use cases for my server is going to be hosting my website

    • @RaidOwl
      @RaidOwl  Před 2 lety

      You're welcome, Sean! Hope this guide works for ya.

  • @thebatman212324
    @thebatman212324 Před 5 měsíci

    This just saved me a ton of reading! Thank you!

  • @gannonbest7251
    @gannonbest7251 Před 2 lety +1

    3 days and hours of pain and finally here we are with a working proxy

  • @josephgutierrez8430
    @josephgutierrez8430 Před rokem +4

    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!

    • @RaidOwl
      @RaidOwl  Před rokem +1

      Heck yeah man, glad you got it working!

    • @Michael-rq8zj
      @Michael-rq8zj Před 9 měsíci

      May I ask how you did this using cloudflare tunneling?

    • @josephgutierrez8430
      @josephgutierrez8430 Před 9 měsíci

      @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

  • @substandard649
    @substandard649 Před 2 lety

    Great explanation, I found this really useful. Thanks

  • @NovaCayn
    @NovaCayn Před 2 lety

    You are awesome! This was a great tutorial. Keep it up :)

  • @annony1annony191
    @annony1annony191 Před 3 měsíci

    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. :)

  • @Marco-rj3wv
    @Marco-rj3wv Před 28 dny

    This video is a god send. Keep up with the great content

  • @MrDoldora
    @MrDoldora Před 4 měsíci

    Yes, it helped a lot! Thank you for the easy explainations!!!!

  • @258JUAN
    @258JUAN Před 10 měsíci

    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.

  • @grlucas
    @grlucas Před 2 lety +5

    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!

  • @ArchdruidViridian
    @ArchdruidViridian Před 12 dny

    Thanks very much friend! Great guide.

  • @djsnakez
    @djsnakez Před rokem

    This really made my day. Thank you!

  • @JoelFabiani
    @JoelFabiani Před rokem

    You're the best man! Finally got it working.

  • @Kris-fm8ln
    @Kris-fm8ln Před 2 měsíci +1

    The take a breath followed by screaming into a pillow made me laugh way too hard. Great video.

  • @brandonhill9356
    @brandonhill9356 Před 3 měsíci

    absolutely wonderful! thank you!

  • @burakturksever
    @burakturksever Před 4 měsíci

    The Cloudflare DNS API solved all the issues with my setup, thanks

  • @inoursh
    @inoursh Před 8 měsíci

    you got a like just because of the introduction, that was amazing :D

  • @abdulnaveed4984
    @abdulnaveed4984 Před 8 měsíci

    Thank you so much , so easy explanation, well explained

  • @trishensookraj6193
    @trishensookraj6193 Před rokem

    Incredible explanation. Thanks

  • @RobPClayton
    @RobPClayton Před 2 lety

    Awesome video, finally got this working thanks to this :) thank you!

  • @jedi4z
    @jedi4z Před rokem

    Amazing! thanks for sharing this 🙌🏽

  • @DunOpondo
    @DunOpondo Před rokem

    This is awesome, now I can try to host nextcloud at home and access it from anywhere 😉

  • @patongzz1
    @patongzz1 Před rokem +2

    Thank it work !! very useful

  • @StanyCarteny
    @StanyCarteny Před 2 lety

    Great works!!!! sei bravissimo, è un piacere seguirti!!!

  • @PedroMartinez9
    @PedroMartinez9 Před 4 měsíci

    Amazing explanation! thanks

  • @DavidCastillaGil
    @DavidCastillaGil Před 2 lety

    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.

    • @RaidOwl
      @RaidOwl  Před 2 lety +1

      Haha he’s a great listener

    • @DavidCastillaGil
      @DavidCastillaGil Před 2 lety

      @@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

  • @julianorosario3040
    @julianorosario3040 Před 2 lety

    Man this was so easy thank you

  • @aljubori
    @aljubori Před 2 lety

    Great and perfect vedio , you helped too much to work with... nice.... keep forword man

  • @timothyrobertson4451
    @timothyrobertson4451 Před rokem

    Great, easy to follow video. Do you have a static ip? Would this work on a dynamic ip?

  • @michaelcid
    @michaelcid Před 2 lety

    Thnx! This was really helpful :-)

  • @daz7748
    @daz7748 Před 11 měsíci

    Great tutorial, thank you :)

  • @gipanze1
    @gipanze1 Před měsícem

    subscribed in 30 seconds this guy is hilarious

  • @sakodv7137
    @sakodv7137 Před rokem +1

    Excellent video.

  • @ChapuzasconRober
    @ChapuzasconRober Před 2 lety +1

    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?

    • @Klej0aka0Klej
      @Klej0aka0Klej Před 2 lety +1

      Yes it is, there is cloudflare tunnel that makes it much easier to setup if you got no public ip like me :)

    • @ChapuzasconRober
      @ChapuzasconRober Před 2 lety

      @@Klej0aka0Klej ey! Thanks for the answer. Right now I was trying ddclient without success. Could you give me a link? :)))

    • @Klej0aka0Klej
      @Klej0aka0Klej Před 2 lety

      @@ChapuzasconRober I believe you can find it yourself after writing `cloudflare tunnel`. Setup is pretty easy. :)

    • @ChapuzasconRober
      @ChapuzasconRober Před 2 lety

      @@Klej0aka0Klej Thank you very much! I will try it later!

  • @vince6621
    @vince6621 Před rokem

    Your channel is seriously underrated bro. Awesome video! How would you implement dynamic DNS with this setup?

    • @RaidOwl
      @RaidOwl  Před rokem +1

      There are plenty of different ways but I use the DDNS service built into my firewall (pfSense).

    • @vince6621
      @vince6621 Před rokem

      @@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

  • @adelinopereira1103
    @adelinopereira1103 Před rokem

    great content, thanks for sharing

  • @ledinhanhtan
    @ledinhanhtan Před měsícem

    Thanks man!!

  • @goarus
    @goarus Před rokem

    Thanks for the video. Could you make some more videos about cloudflare settings? There are too many of them.

  • @SerhatCakmakoglu
    @SerhatCakmakoglu Před 3 měsíci

    Simply amazing

  • @jecolon98usa
    @jecolon98usa Před 10 měsíci

    Thank You :)) - Great Video

  • @elmagico3488
    @elmagico3488 Před 2 měsíci

    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 ?

  • @alel1531
    @alel1531 Před 7 měsíci

    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! 🤙

  • @reg_legs
    @reg_legs Před rokem

    This was perfect. Also, drinking out of cups.

  • @angelosmoraitis4567
    @angelosmoraitis4567 Před rokem +2

    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?

  • @killahert
    @killahert Před 9 dny

    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.

  • @froalexandre
    @froalexandre Před 2 lety +2

    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?

    • @RaidOwl
      @RaidOwl  Před 2 lety +3

      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

    • @froalexandre
      @froalexandre Před 2 lety +1

      @@RaidOwl It's just what's bundled with truenas scale but I guess I really should isolate more my services haha thanks again!

  • @samuelg3024
    @samuelg3024 Před měsícem

    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.

  • @zamilsoft
    @zamilsoft Před měsícem

    Nice work

  • @DarthDweeb
    @DarthDweeb Před 2 lety +1

    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.

    • @RaidOwl
      @RaidOwl  Před 2 lety

      “For a site that ain’t man ganged and no one goes to” 😂

  • @mziminski
    @mziminski Před rokem

    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?

  • @Lamp512
    @Lamp512 Před 2 lety

    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?

  • @wiliam334
    @wiliam334 Před 3 měsíci

    thanks for the video

  • @Iberiabati
    @Iberiabati Před rokem

    Thanks for this video!! How can you do this for internal use? i mean, use a certificate for private urls.

  • @Lucade2210
    @Lucade2210 Před 2 lety

    That was great. Tnx!

  • @rzvendramini
    @rzvendramini Před rokem +1

    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!

  • @nomoreangelz
    @nomoreangelz Před rokem

    awesome video.

  • @sbeehre
    @sbeehre Před rokem

    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!

  • @somedude5353
    @somedude5353 Před 4 měsíci

    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?

  • @camaycama7479
    @camaycama7479 Před rokem

    GREAT dude!